/* Pilgrim Data Services — main styles */
:root {
	--pds-maroon: #9a031e;
	--pds-orange: #fb8b24;
	--pds-dark: #620705;
	--pds-cream: #ffddbe;
	--pds-bg: #fef6ec;
	--pds-container: 1140px;
}

*,*::before,*::after { box-sizing: border-box; }
body {
	margin: 0;
	font-family: "Open Sans", Arial, sans-serif;
	background: var(--pds-bg);
	color: #222;
	line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--pds-maroon); }
.screen-reader-text {
	border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute; width: 1px; word-wrap: normal !important;
}
.pds-container {
	width: min(var(--pds-container), calc(100% - 32px));
	margin-inline: auto;
}
.alignwide { max-width: var(--pds-container); margin-inline: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }

/* Header */
.pds-header { position: sticky; top: 0; z-index: 99; padding: 0; background: #9A031E; }
.pds-header .header-top { width: 100%; background: #FB8B24; }
.pds-header .header-inner {
	display: flex; align-items: center; justify-content: space-between;
	width: min(var(--pds-container), calc(100% - 24px));
	margin: 0 auto; padding: 5px 0;
}
.pds-header .header-bottom { justify-content: center; padding: 8px 0 12px; background: #9A031E; }
.main-header-extra-class { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.site-navigation ul.menu { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; align-items: center; }
.site-navigation ul.menu li a { color: #fff !important; font-weight: 600; text-decoration: none; }
.nav-sep { color: #fff; }
select#language-select { background: #FB8B24; color: #fff; border: none; font-size: 16px; text-align: right; padding: 0 5px; }
img.custom-logo { width: 200px; height: auto; }
.site-title-link { color: #fff; font-weight: 700; text-decoration: none; font-size: 1.25rem; }
.site-navigation-toggle {
	display: none; background: transparent; border: 0; color: #fff; font-size: 26px; cursor: pointer; padding: 4px 8px;
}
.site-navigation-dropdown {
	display: none; position: absolute; right: 12px; top: 56px; background: #9a041e; min-width: 220px;
	border-radius: 6px; padding: 8px 0; z-index: 100;
}
.site-navigation-dropdown.show { display: block; }
.site-navigation-dropdown ul { list-style: none; margin: 0; padding: 0; flex-direction: column; }
.site-navigation-dropdown a { display: block; padding: 10px 16px; color: #fff !important; text-decoration: none; }
.header-search-form { width: 70%; }
form.search-form, form.dcs-search { display: flex; align-items: center; gap: 10px; width: 100%; }
input.search-field, select#city, select#parent-city, select#child-city, .dcs-search select, .dcs-search input {
	height: 40px; border-radius: 5px; border: none; border-bottom: 1px solid #620705 !important;
	background: #fff; font-size: 14px; color: #545454; padding: 0 10px;
}
button#searchsubmit, .dcs-search button {
	background: #620705; border: none; border-radius: 4px; color: #fff; font-weight: 600;
	padding: 10px 16px; cursor: pointer;
}
button#searchsubmit:hover, .dcs-search button:hover { background: #fb8b24; color: #111; }

/* Footer */
.pds-footer {
	position: relative;
	color: #fff;
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
	min-height: 470px;
	display: flex;
	align-items: flex-end;
	padding: 125px 0 20px;
}
.pds-footer .footer-inner {
	width: min(var(--pds-container), calc(100% - 32px));
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 30px;
}
.pds-footer a { color: #fff; text-decoration: none; }
.pds-footer a:hover { color: var(--pds-cream); }

.pds-footer .footer-nav ul.menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.pds-footer .footer-nav a {
	font-weight: 500;
	font-size: 1rem;
	line-height: 1.4;
}
.pds-footer .footer-nav--legal a {
	font-size: 0.95rem;
	font-weight: 400;
}
.pds-footer .footer-nav .dis_lang {
	margin: 0;
}

.pds-footer .footer-meta {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 16px 24px;
	margin-top: 8px;
}
.pds-footer .footer-social {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px 28px;
}
.pds-footer .footer-social a,
.pds-footer .footer-email a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.95rem;
	font-weight: 500;
}
.pds-footer .footer-social .fa,
.pds-footer .footer-email .fa {
	font-size: 1.05rem;
	line-height: 1;
}

.pds-footer .footer-copy {
	width: 100%;
	margin-top: 6px;
	text-align: center;
}
.pds-footer .footer-divider {
	border: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.55);
	margin: 0 0 14px;
}
.pds-footer .copyright p {
	margin: 0;
	font-size: 0.9rem;
	font-weight: 400;
	letter-spacing: 0.01em;
}

@media (max-width: 767px) {
	.pds-footer {
		min-height: 360px;
		padding: 120px 0 22px;
		background-position: 35% top;
	}
	.pds-footer .footer-nav ul.menu { gap: 8px 18px; }
	.pds-footer .footer-nav a { font-size: 0.9rem; }
	.pds-footer .footer-meta {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	.pds-footer .footer-social { justify-content: center; }
}

h1.page-title { text-align: center; }

/* Language defaults */
.mr_lang { display: block; }
.en_lang, .hi_lang, .gj_lang { display: none; }

/* Gutenberg entry */
.entry-content > * { max-width: 720px; margin-inline: auto; }
.entry-content > .alignwide { max-width: var(--pds-container); }
.entry-content > .alignfull { max-width: none; }
.entry-title { color: var(--pds-maroon); }

/* City chips */
.city-children { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 24px; }
.city-chip {
	display: inline-block; padding: 8px 14px; background: var(--pds-maroon); color: #fff !important;
	border-radius: 6px; text-decoration: none; font-weight: 600;
}
.city-chip:hover { background: var(--pds-orange); color: #111 !important; }

@media (max-width: 991px) {
	.site-navigation { display: none; }
	.site-navigation-toggle { display: inline-flex; }
	.header-search-form { width: 100%; }
	.nav-sep { display: none; }
}
@media (max-width: 600px) {
	.pds-header .header-top { padding: 0 10px; }
	form.search-form, form.dcs-search { flex-wrap: wrap; }
	.dcs-search select, .dcs-search input, .dcs-search button { width: 48%; }
	button#searchsubmit { width: 100%; }
}

/* ===== Ported child theme custom CSS ===== */
/* Add your custom styles here */

/* ================================= Custom CSS ================================= */
nav.site-navigation-dropdown.show a { background: #9a041e !important; color: #ffffff !important; }
.site-navigation ul.menu li a { text-decoration: none; }
i.eicon-menu-bar { margin-top: -5px; }
.eicon-menu-bar:before { content: "☰" !important; color: #ffffff; font-size: 26px; font-style: normal !important; }
.site-navigation-toggle-holder { margin-left: 10px; padding: 0px; }
.site-navigation-toggle-holder.elementor-active .site-navigation-toggle i:before { content: "x" !important; font-family: sans-serif; color: #ffffff; font-size: 26px; font-style: normal !important; }
li.menu-item a div { color: #ffffff !important; font-weight: 500; }
ul.menu { margin-bottom: 0px; }

img.custom-logo { width: 200px; }

/* Website Header */
.site-header .site-navigation { justify-content: flex-start; }
.site-header .header-inner { align-items: center; }
.main-header-extra-class { display: flex; justify-content: space-between; align-items: center; }
/* .eicon-menu-bar:before { content: "\e816" !important; font-size: 26px !important; color: #ffffff; } */
/* .site-navigation-toggle-holder.elementor-active .site-navigation-toggle i:before { content: "\e87f" !important; color: #ffffff; } */
header#site-header { padding: 0px; background: #9A031E; position: sticky; top: 0; z-index: 99; }
.site-header .header-inner { padding: 5px 0px; }
.header-top { width: 100%; background: #FB8B24; }
select#language-select { background: #FB8B24; color: #fff; border: none; font-size: 16px; text-align: right; }
/* nav.site-navigation-dropdown.show a { color: #000 !important; } */
header button#searchsubmit { background: #620705; width: auto; padding: 10px; }
header select#city { height: 40px; border-bottom: none !important; background: #ffffff; }
header input.search-field { height: 40px; border-bottom: none !important; }
ul#menu-primary-menu { margin-bottom: 0; }
ul#menu-primary-menu a { color: #fff !important; font-weight: 600; }
ul#menu-primary-menu a:hover { text-decoration: none; }

/* Common CSS */
/*body { background-color: #fef6ec; } */
.page-id-2, h4 { font-family: "Open Sans", Arial, sans-serif; }

.marathi_lang { display: block; }
.en_lang { display: none; }
.hi_lang { display: none; }

/* Header CSS */
/* .home .cst-header { position: fixed; top: 0; background-color: #5F0F4050 !important; } */
.cst-header { background-color: #5F0F40 !important; }
.site-navigation-toggle-holder .site-navigation-toggle { width: 38px !important; }
.header-inner.header-bottom { justify-content: center; }

/* Search Bar CSS */
form.search-form { display: flex; align-items: center; }
input::placeholder { font-size: 14px; }
/* .search-ico { padding: 10px; width: 45px; height: 45px; position: absolute; } */
/* i.fa.fa-search.search-ico { font-size: 20px; } */
.header-search-form { width: 70%; }

input.search-field { height: 40px; border-radius: 5px !important; margin-right: 10px; background-color: #f2f2f2; border: none !important; border-bottom: 1px solid #620705 !important; background: #ffffff; }
input.search-field::placeholder, select#parent-city::placeholder, select#child-city::placeholder { color: #545454; font-size: 14px; }

select#city, select#parent-city, select#child-city { height: 40px; border-bottom: 1px solid #620705 !important; border: none; margin-right: 10px; border-radius: 5px; background: #ffffff; font-size: 14px; color: #545454; }
form#searchform { display: flex; }
button#searchsubmit { background-color: #620705; border: none; border-radius: 4px; display: flex; color: #ffffff; font-weight: 600; width: 20%; justify-content: center; font-size: 16px !important; line-height: 1.4 !important; }
button#searchsubmit:hover { background-color: #163757; }
img.searchbar-icon { width: 30px; }

.frm-back .elementor-widget-container { background: #ffffff50; backdrop-filter: blur(7px) !important; }

/* Temple Grid CSS */
.temple-grid-format { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; }
.temple-block { width: 30%; border-radius: 15px; padding: 15px; border: 1px solid #FB8B24; background-color: #FFDDBE; text-align: center; box-shadow: 0px 0px 8px #00000050; }
.temple-data p { font-size: 12px; }
.temple-data a { text-decoration: none !important; }
.temple-data h5 { font-weight: 600; margin: 0px 0px 10px; color: #9A031E; text-align: center; font-size: 16px; }
.temple-data img { border-radius: 10px; box-shadow: 0px 0px 8px #00000030; border: 1px solid #FB8B24; }
.view-details-btn { padding: 5px; background: #9A031E; color: #ffffff; border-radius: 5px; display: block; text-align: center; font-weight: 600; font-size: 14px; margin-top: 5px; transition: 0.5s; text-decoration: none !important; }
.view-details-btn:hover { background: #FB8B24; color: #000; transition: 0.5s; }
.temple-excerpt p { font-size: 12px; text-align: center; }
.gall figcaption { margin-top: -28px !important; background: #00000075; position: relative; border-radius: 0px 0px 15px 15px; color: #ffffff !important; }
.about-cities img { border: 1px solid #FB8B24 !important; border-radius: 17px; box-shadow: 0px 0px 8px #00000050; }

/* Gallery CSS */
.gall .elementor-animated-content .elementor-animated-item--fade-in { opacity: 1 !important; background: #00000099; font-weight: 400; }

/* Single Template */
.lSAction > a { opacity: 1 !important; }
/* Legacy footer solid color overridden by .pds-footer background image */

.post-feature-image { width: 100%; height: 205px; background-size: cover; background-position: center; border-radius: 10px; border: 1px solid #fb8b24; margin-bottom: 5px; }


/* Mobile CSS */
@media only screen and (max-width: 600px) {
	.post-feature-image { height: 150px; }
	
	.site-navigation-dropdown a { padding: 10px !important; }
	header .header-search-form form { display: inline-flex; justify-content: center; align-items: baseline; width: 100%; gap: 10px; }
	.header-inner.header-bottom { text-align: center; }
	.header-search-form { width: 100% !important; padding: 0px 5px; }
	.header-top { padding: 0px 10px; }
	.temple-block { width: 45%; padding: 5px; border-radius: 10px; }
	.temple-data img { border-radius: 7px; }
	.view-details-btn { padding: 2px; }
	.temple-excerpt p { font-size: 10px; }
	form.search-form { display: block; }
	button#searchsubmit { width: 100%; }

	.gall figcaption { margin-top: -22px !important; }
	header button#searchsubmit { height: auto; }
	
	.temple-data h5 { font-size: 14px; font-weight: 500; }
    
    input.search-field, form.search-form select { height: 30px !important; padding: 0px; font-size: 12px !important; margin-right: 5px !important; }
    button#searchsubmit { font-size: 12px !important; padding: 7px !important; }
    header input.search-field::placeholder { font-size: 12px; padding: 5px; }
}


/* CSS 22 March 2025 */
/* .temple-details .mr_lang.dis_lang:not(:has(img))::after {
    content: "ही सामग्री इंग्रजीमध्ये उपलब्ध आहे. कृपया हेडरमधून भाषा बदला.";
    display: block;
    font-size: 26px;
    font-weight: bolder;
    text-align: center;
    font-family: auto;
}
.temple-details .en_lang.dis_lang:not(:has(img))::after {
    content: "This content is available in Marathi. Please change the language from the header.";
    display: block;
    font-size: 26px;
    font-weight: bolder;
    text-align: center;
    font-family: auto;
}
}
.temple-details .hi_lang.dis_lang:not(:has(img))::after {
    content: "यह सामग्री किसी अन्य भाषा में भी उपलब्ध है। कृपया हेडर से भाषा बदलें।";
    display: block;
    font-size: 26px;
    font-weight: bolder;
    text-align: center;
    font-family: auto;
} */

/* Language-aware temple popup (Fancybox) */
.pds-temple-fancybox .fancybox-content {
	max-width: 760px;
	width: calc(100% - 32px);
	padding: 24px;
	border-radius: 5px;
	background: #fff;
}
.pds-temple-popup__inner { min-height: 80px; }
.pds-temple-popup__loading {
	text-align: center;
	font-weight: 600;
	color: var(--pds-maroon);
	padding: 24px 0;
}
.pds-temple-popup__title {
	margin: 0 0 16px;
	color: var(--pds-maroon);
	font-size: 28px;
	text-align: center;
	font-family: auto;
}
.pds-temple-popup__message {
	margin: 0 0 20px;
	font-size: 20px;
	font-weight: 700;
	text-align: center;
	color: var(--pds-maroon);
	line-height: 1.4;
}
.pds-temple-popup__content {
	text-align: justify;
	font-size: 16px;
	max-height: 60vh;
	overflow: auto;
}
.pds-temple-popup__content img { max-width: 100%; height: auto; }
.pds-temple-popup__langs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin-top: 20px;
}
.pds-temple-popup__lang-btn {
	appearance: none;
	display: inline-block;
	border: 1px solid var(--pds-maroon);
	background: var(--pds-maroon);
	color: #fff;
	border-radius: 6px;
	padding: 6px 18px;
	font-weight: 600;
	font-size: 15px;
	cursor: pointer;
	text-decoration: none !important;
	transition: 0.3s;
}
.pds-temple-popup__lang-btn:hover,
.pds-temple-popup__lang-btn.is-active {
	background: var(--pds-orange);
	border-color: var(--pds-orange);
	color: #000;
}
.pds-temple-popup__full {
	display: block;
	text-align: center;
	margin-top: 18px;
	font-weight: 600;
	color: var(--pds-maroon);
}
.pds-temple-popup__full:hover { color: #000; }

@media only screen and (max-width: 600px) {
	.pds-temple-popup__title { font-size: 22px; }
	.pds-temple-popup__message { font-size: 16px; }
	.pds-temple-popup__content { max-height: 50vh; }
}

.nav-links {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 30px 0px;
    gap: 10px;
}