/* Roshan Yaad: calm layout on top of theme.json */

html { scroll-behavior: smooth; }
:where(section, [id]) { scroll-margin-top: 90px; }
body { -webkit-font-smoothing: antialiased; }
img { height: auto; }

/* ---------- Header ---------- */
.ry-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(246, 244, 239, 0.92);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--wp--preset--color--line);
	padding-top: 0.7rem; padding-bottom: 0.7rem;
}
.admin-bar .ry-header { top: 32px; }
.ry-header-in { gap: 1.5rem; align-items: center; }
.ry-logo { margin: 0; flex-shrink: 0; }
.ry-logo img { width: 190px; display: block; }
.ry-header-right { gap: 1.6rem; align-items: center; }
.ry-nav { gap: 1.6rem; }
.ry-nav a { text-decoration: none; color: var(--wp--preset--color--ink); white-space: nowrap; }
.ry-nav a:hover { color: var(--wp--preset--color--gold); }
.ry-header-btn .wp-block-button__link { padding: 0.55rem 1.2rem; font-size: 0.92rem; white-space: nowrap; }

/* ---------- Sections ---------- */
.ry-section { padding-top: var(--wp--preset--spacing--60); padding-bottom: var(--wp--preset--spacing--60); }
main > .ry-section, main > .ry-trust { margin-top: 0 !important; }
.ry-tint { background: var(--wp--preset--color--sand); }
.ry-head { margin-bottom: var(--wp--preset--spacing--50); }
.ry-head > * { max-width: 640px; margin-left: 0 !important; }
.ry-center, .ry-center > * { text-align: center; }
.ry-center > * { margin-left: auto !important; margin-right: auto !important; }
.ry-head h2 { margin-top: 0.3rem; }

.ry-eyebrow {
	font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
	color: var(--wp--preset--color--gold); font-weight: 600; margin: 0;
}
.ry-lead { font-size: 1.2rem; line-height: 1.6; color: var(--wp--preset--color--muted); max-width: 34rem; }
.ry-ur {
	font-family: var(--wp--preset--font-family--urdu);
	direction: rtl; text-align: right;
	font-size: 1.15rem; line-height: 2.3; color: var(--wp--preset--color--green);
}
.ry-center .ry-ur { text-align: center; }

/* ---------- Hero ---------- */
.ry-hero { padding-top: clamp(2.5rem, 6vw, 5rem); }
.ry-hero-cols { gap: clamp(2rem, 5vw, 4.5rem); }
.ry-hero-text { flex-basis: 58% !important; }
.ry-hero-media { flex-basis: 42% !important; }
.ry-hero-text .ry-ur { text-align: left; direction: rtl; display: inline-block; width: 100%; max-width: 34rem; text-align: right; }
.ry-hero h1 { margin: 0.6rem 0 0.4rem; }
.ry-hero .wp-block-buttons { margin-top: 1.4rem; gap: 0.8rem; }
.ry-photo { margin: 0; }
.ry-photo img {
	width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 50%;
	border-radius: 28px 28px 140px 140px / 28px 28px 110px 110px;
	box-shadow: 0 30px 60px -30px rgba(22, 64, 74, 0.35);
}
.ry-hero-media { position: relative; }
.ry-hero-media .ry-photo { max-width: 430px; margin-left: auto; }

.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent; color: var(--wp--preset--color--green);
	border: 1.5px solid var(--wp--preset--color--green);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--wp--preset--color--green); color: #fff; }

/* ---------- Trust row ---------- */
.ry-trust {
	background: var(--wp--preset--color--white);
	border-top: 1px solid var(--wp--preset--color--line);
	border-bottom: 1px solid var(--wp--preset--color--line);
	padding-top: 1.6rem; padding-bottom: 1.6rem;
}
.ry-trust .wp-block-columns { gap: 1.5rem; margin: 0; }
.ry-trust p { margin: 0; font-size: 0.92rem; color: var(--wp--preset--color--muted); line-height: 1.5; padding-left: 1.1rem; border-left: 2px solid var(--wp--preset--color--sage); }
.ry-trust strong { color: var(--wp--preset--color--green); font-weight: 600; }

/* ---------- Steps ---------- */
.ry-steps { gap: clamp(1.5rem, 4vw, 3rem); }
.ry-num {
	width: 2.6rem; height: 2.6rem; border-radius: 50%;
	display: grid; place-items: center;
	border: 1.5px solid var(--wp--preset--color--gold); color: var(--wp--preset--color--gold);
	font-family: var(--wp--preset--font-family--serif); font-size: 1.15rem; margin: 0 0 0.6rem;
}
.ry-step h3 { margin: 0 0 0.3rem; }
.ry-step p:last-child { color: var(--wp--preset--color--muted); margin: 0; }

/* ---------- Cards ---------- */
.ry-grid { gap: 1.25rem; }
.ry-card, .ry-price {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 20px; padding: 1.8rem;
}
.ry-card h3 { margin: 0 0 0.5rem; }
.ry-card h3::before {
	content: ""; display: block; width: 28px; height: 2px;
	background: var(--wp--preset--color--sage); margin-bottom: 1rem;
}
.ry-card p { margin: 0; color: var(--wp--preset--color--muted); }

/* ---------- Prices ---------- */
.ry-price { display: flex; flex-direction: column; position: relative; }
.ry-price h3 { margin: 0; font-family: var(--wp--preset--font-family--sans); font-size: 1rem; font-weight: 600; letter-spacing: 0.02em; }
.ry-amount { font-family: var(--wp--preset--font-family--serif); font-size: 2.8rem; color: var(--wp--preset--color--green); line-height: 1.1; margin: 0.6rem 0 0.2rem; }
.ry-amount span { font-family: var(--wp--preset--font-family--sans); font-size: 0.95rem; color: var(--wp--preset--color--muted); margin-left: 0.25rem; }
.ry-price > p:not(.ry-amount) { color: var(--wp--preset--color--muted); flex-grow: 1; }
.ry-price .wp-block-buttons { margin-top: 0.6rem; }
.ry-price .wp-block-button, .ry-price .wp-block-button__link { width: 100%; }
.ry-featured { border: 1.5px solid var(--wp--preset--color--gold); box-shadow: 0 20px 40px -28px rgba(201, 169, 110, 0.7); }
.ry-featured::before {
	content: "Most chosen"; position: absolute; top: -0.75rem; left: 1.8rem;
	background: var(--wp--preset--color--gold); color: #fff;
	font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
	padding: 0.25rem 0.7rem; border-radius: 999px;
}
.ry-featured .wp-block-button__link { background: var(--wp--preset--color--green) !important; color: #fff !important; }
.ry-note { text-align: center; color: var(--wp--preset--color--muted); font-size: 0.92rem; margin-top: 2rem !important; }

/* ---------- Story ---------- */
.ry-story { gap: clamp(2rem, 6vw, 5rem); }
.ry-story-media { max-width: 360px; }
.ry-video { margin: 0; }
.ry-video video {
	width: 100%; aspect-ratio: 9 / 14; object-fit: cover; display: block;
	border-radius: 24px; box-shadow: 0 30px 60px -30px rgba(22, 64, 74, 0.35);
}
.ry-story .ry-ur { text-align: right; }
.ry-sign { font-family: var(--wp--preset--font-family--serif); font-style: italic; color: var(--wp--preset--color--green); }

/* ---------- Foundation ---------- */
.ry-green {
	background-color: var(--wp--preset--color--green);
	background-image: radial-gradient(circle at 50% -20%, rgba(201, 169, 110, 0.22), transparent 60%);
	color: #E8F0F0;
}
.ry-green h2 { color: #fff; }
.ry-green .ry-ur { color: var(--wp--preset--color--gold); }
.ry-green .ry-head { margin-bottom: 0; }

/* ---------- FAQ ---------- */
.ry-faq .wp-block-details {
	border-bottom: 1px solid var(--wp--preset--color--line);
	padding: 1.1rem 0; margin: 0;
}
.ry-faq summary {
	cursor: pointer; list-style: none; position: relative; padding-right: 2rem;
	font-family: var(--wp--preset--font-family--serif); font-size: 1.15rem; color: var(--wp--preset--color--green);
}
.ry-faq summary::-webkit-details-marker { display: none; }
.ry-faq summary::after { content: "+"; position: absolute; right: 0.2rem; top: -0.1rem; color: var(--wp--preset--color--gold); font-size: 1.4rem; }
.ry-faq details[open] summary::after { content: "–"; }
.ry-faq details p { color: var(--wp--preset--color--muted); margin: 0.6rem 0 0; }

/* ---------- Order form ---------- */
.ry-form {
	max-width: 720px; margin: 0 auto; background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line); border-radius: 24px;
	padding: clamp(1.4rem, 4vw, 2.4rem); display: grid; gap: 1rem;
}
.ry-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ry-form label { display: grid; gap: 0.35rem; font-size: 0.9rem; font-weight: 500; color: var(--wp--preset--color--green); }
.ry-form input, .ry-form select, .ry-form textarea {
	font: inherit; font-weight: 400; color: var(--wp--preset--color--ink);
	background: var(--wp--preset--color--base); border: 1px solid var(--wp--preset--color--line);
	border-radius: 12px; padding: 0.7rem 0.85rem; width: 100%; box-sizing: border-box;
}
.ry-form input:focus, .ry-form select:focus, .ry-form textarea:focus { outline: 2px solid var(--wp--preset--color--gold); outline-offset: 1px; border-color: transparent; }
.ry-form .ry-check { display: flex; align-items: center; gap: 0.6rem; font-weight: 400; color: var(--wp--preset--color--ink); }
.ry-form .ry-check input { width: auto; }
.ry-map { display: grid; gap: 0.8rem; }
.ry-map-toggle {
	justify-self: start; font: inherit; font-size: 0.9rem; cursor: pointer;
	background: var(--wp--preset--color--green-soft); color: var(--wp--preset--color--green);
	border: 1px solid var(--wp--preset--color--sage); border-radius: 999px; padding: 0.5rem 1rem;
}
.ry-map-box iframe { width: 100%; height: 300px; border: 0; border-radius: 14px; background: var(--wp--preset--color--sand); }
.ry-small { font-size: 0.82rem; color: var(--wp--preset--color--muted); margin: 0.4rem 0 0; }
.ry-submit {
	font: inherit; font-weight: 600; cursor: pointer; border: 0; border-radius: 999px;
	background: var(--wp--preset--color--green); color: #fff; padding: 0.95rem 1.6rem;
}
.ry-submit:hover { background: var(--wp--preset--color--green-deep); }

/* ---------- Footer ---------- */
.ry-footer {
	background: var(--wp--preset--color--green); color: #C9D8DA;
	padding-top: var(--wp--preset--spacing--50); padding-bottom: 1.5rem; margin-top: 0 !important;
	font-size: 0.93rem;
}
.ry-footer a { color: #E8F0F0; text-decoration: none; }
.ry-footer a:hover { color: var(--wp--preset--color--gold); }
.ry-footer-icon { margin: 0; }
.ry-footer-icon img { width: 56px; }
.ry-footer-name { font-family: var(--wp--preset--font-family--serif); font-size: 1.4rem; color: #fff; margin: 0.6rem 0 0; }
.ry-footer-brand p:last-child { margin-top: 0.2rem; }
.ry-footer-title { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.75rem; color: var(--wp--preset--color--gold); font-weight: 600; margin: 0 0 0.6rem; }
.ry-footer-title + p { line-height: 2; margin: 0; }
.ry-footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 1.2rem; margin-top: 2rem !important; text-align: center; font-size: 0.82rem; color: #9FB5B8; max-width: var(--wp--style--global--wide-size) !important; }

/* ---------- Floating WhatsApp + help ---------- */
.ry-wa {
	position: fixed; right: 18px; bottom: 18px; z-index: 60;
	width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
	background: #25D366; color: #fff; box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.35);
}
.ry-chat { position: fixed; right: 82px; bottom: 26px; z-index: 60; }
.ry-chat-open {
	font: inherit; font-size: 0.88rem; font-weight: 600; cursor: pointer;
	background: var(--wp--preset--color--white); color: var(--wp--preset--color--green);
	border: 1px solid var(--wp--preset--color--line); border-radius: 999px; padding: 0.55rem 1rem;
	box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.3);
}
.ry-chat-panel {
	position: absolute; right: -64px; bottom: 54px; width: min(340px, calc(100vw - 32px));
	background: var(--wp--preset--color--white); border: 1px solid var(--wp--preset--color--line);
	border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(22, 64, 74, 0.35);
}
.ry-chat-panel[hidden] { display: none; }
.ry-chat-head { background: var(--wp--preset--color--green-deep); color: #DDE7E0; padding: 1rem 2.6rem 1rem 1.1rem; position: relative; font-size: 0.82rem; }
.ry-chat-head strong { display: block; color: #fff; font-family: var(--wp--preset--font-family--serif); font-size: 1.1rem; font-weight: 500; }
.ry-chat-x { position: absolute; right: 0.6rem; top: 0.5rem; background: none; border: 0; color: #fff; font-size: 1.5rem; cursor: pointer; }
.ry-chat-body { max-height: 240px; overflow-y: auto; padding: 1rem; display: grid; gap: 0.5rem; background: var(--wp--preset--color--base); }
.ry-bubble { margin: 0; background: var(--wp--preset--color--white); border: 1px solid var(--wp--preset--color--line); border-radius: 14px 14px 14px 4px; padding: 0.6rem 0.8rem; font-size: 0.88rem; line-height: 1.5; max-width: 88%; }
.ry-bubble.ry-me { justify-self: end; background: var(--wp--preset--color--green-soft); border-radius: 14px 14px 4px 14px; }
.ry-chat-qs { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0.8rem 1rem 1rem; }
.ry-chat-qs button { font: inherit; font-size: 0.8rem; cursor: pointer; background: none; border: 1px solid var(--wp--preset--color--sage); color: var(--wp--preset--color--green); border-radius: 999px; padding: 0.35rem 0.75rem; }
.ry-chat-wa { width: 100%; text-align: center; margin-top: 0.3rem; background: #25D366; color: #fff !important; text-decoration: none; border-radius: 999px; padding: 0.55rem; font-size: 0.88rem; font-weight: 600; }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
	.ry-header-btn { display: none; }
}
@media (max-width: 781px) {
	.ry-logo img { width: 140px; }
	.ry-hero-media { flex-basis: 100% !important; }
	.ry-hero-media .ry-photo { margin: 0 auto; max-width: 340px; }
	.ry-hero-text { flex-basis: 100% !important; }
	.ry-trust .wp-block-columns { display: grid !important; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
	.ry-story-media { max-width: 300px; margin: 0 auto; }
	.ry-row { grid-template-columns: 1fr; }
	.ry-chat { right: 82px; bottom: 26px; }
}
@media (max-width: 600px) {
	.admin-bar .ry-header { top: 0; }
}

/* ---------- Spacing fixes ---------- */
.wp-site-blocks > * + * { margin-block-start: 0 !important; }
.ry-card p, .ry-step p:last-child, .ry-price > p:not(.ry-amount) { font-size: 0.98rem; line-height: 1.65; }
@media (min-width: 782px) {
	.ry-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; max-width: 980px; margin-left: auto !important; margin-right: auto !important; }
	.ry-hero-text .ry-ur { text-align: left; }
}
.ry-card h3, .ry-step h3 { font-size: 1.3rem; }

/* ---------- Moments (video cards) ---------- */
.ry-moments { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 1.1rem; align-items: start; }
.ry-moment { margin: 0 !important; }
.ry-moment .ry-video video { aspect-ratio: 9 / 14; border-radius: 20px; box-shadow: 0 24px 50px -30px rgba(22, 64, 74, 0.45); }
.ry-moment-tag { margin: 0.9rem 0 0.1rem !important; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wp--preset--color--gold); font-weight: 600; }
.ry-moment-cap { margin: 0 !important; font-family: var(--wp--preset--font-family--serif); font-size: 1.08rem; line-height: 1.35; color: var(--wp--preset--color--green); }
.ry-moment-main .ry-video video { border: 3px solid var(--wp--preset--color--gold); }
.ry-moment-main .ry-moment-cap { font-size: 1.25rem; }
.ry-tribute { font-size: 0.95rem; color: var(--wp--preset--color--muted); }
.ry-tribute a { color: var(--wp--preset--color--green); font-weight: 600; text-decoration-color: var(--wp--preset--color--gold); text-underline-offset: 3px; }
@media (max-width: 900px) {
	.ry-moments { grid-template-columns: repeat(4, 62%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.8rem; margin-right: calc(-1 * clamp(1rem, 4vw, 2rem)) !important; padding-right: 1rem; }
	.ry-moment { scroll-snap-align: start; }
}
.ry-hero-cap { max-width: 430px; margin: 0.9rem 0 0 auto !important; text-align: center; font-family: var(--wp--preset--font-family--serif); font-style: italic; font-size: 0.95rem; color: var(--wp--preset--color--muted); }
@media (max-width: 781px) { .ry-hero-cap { margin: 0.9rem auto 0 !important; } }

/* Gemini palette accents: deep green hovers, sage details */
.ry-footer-bottom { border-top-color: rgba(168, 182, 160, 0.25); }
.ry-card { transition: border-color .2s, transform .2s; }
.ry-card:hover { border-color: var(--wp--preset--color--sage); transform: translateY(-2px); }
.ry-header-btn .wp-block-button__link:hover, .ry-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: var(--wp--preset--color--green-deep); }
.ry-green { background-color: var(--wp--preset--color--green); }

/* ---------- Inner pages ---------- */
.ry-band {
	background-color: var(--wp--preset--color--green);
	background-image: radial-gradient(circle at 85% -40%, rgba(201, 169, 110, 0.25), transparent 55%);
	color: #DCE7E8; padding-top: clamp(2.2rem, 5vw, 3.5rem); padding-bottom: clamp(2.2rem, 5vw, 3.5rem);
	margin-top: 0 !important;
}
.ry-band h1 { color: #fff; margin: 0.3rem 0 0.4rem; font-size: clamp(2rem, 4.5vw, 3rem); }
.ry-crumb { margin: 0; font-size: 0.85rem; color: var(--wp--preset--color--gold); }
.ry-crumb a { color: #DCE7E8; text-decoration: none; }
.ry-band-sub { margin: 0; max-width: 46rem; color: #DCE7E8; }
.ry-more { margin-top: 2rem !important; justify-content: center; }
.ry-green .wp-block-button.is-style-outline > .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.ry-green .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: #fff; color: var(--wp--preset--color--green); }
.ry-green .wp-block-button:not(.is-style-outline) > .wp-block-button__link { background: var(--wp--preset--color--gold); color: #fff; }
.ry-green .wp-block-buttons { justify-content: center; }
.ry-cta-in h2 { color: #fff; }
.ry-split { max-width: 760px; }

/* Our Work: city list beside the photos */
.ry-work { gap: 1.6rem; align-items: flex-start; }
.ry-work-side { position: sticky; top: 96px; }
.ry-cities { background: var(--wp--preset--color--white); border: 1px solid var(--wp--preset--color--line); border-radius: 16px; padding: 0.6rem; max-height: 70vh; overflow-y: auto; }
.ry-cities-pick { display: none; }
.ry-prov summary { cursor: pointer; font-family: var(--wp--preset--font-family--serif); color: var(--wp--preset--color--green); font-size: 1.05rem; padding: 0.5rem 0.6rem; }
.ry-prov ul { list-style: none; margin: 0 0 0.5rem; padding: 0; display: grid; gap: 0.35rem; }
.ry-prov button {
	width: 100%; text-align: left; font: inherit; font-size: 0.9rem; cursor: pointer;
	background: var(--wp--preset--color--base); color: var(--wp--preset--color--ink);
	border: 1px solid var(--wp--preset--color--line); border-radius: 10px; padding: 0.45rem 0.75rem;
}
.ry-prov button.has-work::after { content: "●"; color: var(--wp--preset--color--gold); font-size: 0.6rem; float: right; margin-top: 0.3rem; }
.ry-prov button.is-active { background: var(--wp--preset--color--green); color: #fff; border-color: var(--wp--preset--color--green); }
.ry-work-main { min-width: 0; }
.ry-work-city > h3, .ry-work-empty h3 {
	background: var(--wp--preset--color--green); color: #fff; border-radius: 14px; padding: 0.9rem 1.2rem; margin: 0 0 0.6rem; text-align: center;
}
.ry-work-city > h3::after { content: "For privacy, the names on graves are blurred."; display: block; font-family: var(--wp--preset--font-family--sans); font-size: 0.85rem; color: #DCE7E8; margin-top: 0.2rem; }
.ry-work-grid { gap: 1rem; margin-top: 1rem; }
.ry-work-item { background: var(--wp--preset--color--white); border: 1px solid var(--wp--preset--color--line); border-radius: 14px; padding: 0.5rem; }
.ry-work-img { margin: 0; }
.ry-work-img img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; display: block; }
.ry-work-cap { margin: 0.5rem 0.3rem 0.2rem !important; font-size: 0.88rem; color: var(--wp--preset--color--muted); }
.ry-work-empty { text-align: center; color: var(--wp--preset--color--muted); }
.ry-work-empty p { max-width: 30rem; margin: 1.2rem auto; }

/* Contact */
.ry-contact { gap: 1.6rem; align-items: flex-start; }
.ry-contact-card p { margin: 0.6rem 0 0; }
.ry-contact .ry-form { max-width: none; }

@media (max-width: 781px) {
	.ry-work-side { position: static; flex-basis: 100% !important; }
	.ry-cities { max-height: none; padding: 0.9rem; }
	.ry-cities-pick { display: grid; gap: 0.35rem; font-size: 0.9rem; font-weight: 500; color: var(--wp--preset--color--green); }
	.ry-cities-pick select { font: inherit; padding: 0.6rem; border-radius: 10px; border: 1px solid var(--wp--preset--color--line); background: var(--wp--preset--color--base); }
	.ry-cities-list { display: none; }
}
@media (max-width: 1100px) and (min-width: 901px) { .ry-nav { gap: 1.1rem; } }

/* Social initiative banner */
.ry-social { background: var(--wp--preset--color--sand); padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); margin-top: 0 !important; text-align: center; }
.ry-social-in { max-width: 900px !important; margin-left: auto !important; margin-right: auto !important; }
.ry-social h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.15; margin: 0.5rem auto 1rem; text-wrap: balance; }
.ry-social p:not(.ry-eyebrow):not(.ry-ur) { max-width: 40rem; margin: 0 auto; color: var(--wp--preset--color--muted); font-size: 1.08rem; }
.ry-social .ry-ur { text-align: center; margin-top: 0.8rem; }
.ry-work-empty .ry-submit { font-size: 1rem; padding: 0.8rem 1.4rem; }
@media (max-width: 781px) { .ry-work-grid { grid-template-columns: 1fr 1fr !important; gap: 0.6rem; } }

/* ---------- Cinematic hero (cover with painted dawn scene) ---------- */
.ry-hero-cover { padding-top: clamp(3rem, 7vw, 5.5rem) !important; padding-bottom: clamp(3rem, 7vw, 5.5rem) !important; margin-top: 0 !important; }
.ry-hero-cover .wp-block-cover__background { opacity: 1 !important; background: linear-gradient(90deg, rgba(10, 33, 39, 0.82) 0%, rgba(10, 33, 39, 0.55) 45%, rgba(10, 33, 39, 0.05) 75%) !important; }
.ry-hero-cover .wp-block-cover__image-background { object-position: 70% 60%; }
.ry-hero-cover .wp-block-cover__inner-container { color: #E8F0F0; }
.ry-hero-cover h1 { color: #fff; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25); }
.ry-hero-cover .ry-lead { color: #D9E5E6; }
.ry-hero-cover .ry-ur { color: var(--wp--preset--color--gold); }
.ry-hero-cover .ry-eyebrow { color: var(--wp--preset--color--gold); }
.ry-hero-cover .wp-block-button:not(.is-style-outline) > .wp-block-button__link { background: var(--wp--preset--color--gold); color: #10292F; }
.ry-hero-cover .wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover { background: #E0C48C; }
.ry-hero-cover .wp-block-button.is-style-outline > .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, 0.65); }
.ry-hero-cover .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: #fff; color: var(--wp--preset--color--green); }
.ry-hero-cover .ry-photo img { box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.6); border: 3px solid rgba(201, 169, 110, 0.8); }
.ry-hero-cover .ry-hero-cap { color: #CFDDDE; }
.ry-hero-cover .ry-hero-media .ry-photo { max-width: 360px; }
@media (max-width: 781px) {
	.ry-hero-cover .wp-block-cover__background { background: linear-gradient(180deg, rgba(10, 33, 39, 0.8) 0%, rgba(10, 33, 39, 0.55) 60%, rgba(10, 33, 39, 0.35) 100%) !important; }
	.ry-hero-cover .ry-hero-media .ry-photo { max-width: 280px; }
}

/* Five services */
.ry-svc { position: relative; }
.ry-svc h3::before { display: none !important; }
.ry-svc .ry-num { margin-bottom: 0.8rem; }
.ry-svc-tag { margin: 0.2rem 0 0.8rem !important; font-size: 0.78rem !important; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--gold) !important; font-weight: 600; }
.ry-svc ul { margin: 0; padding-left: 1.1rem; color: var(--wp--preset--color--muted); font-size: 0.96rem; line-height: 1.7; }
.ry-svc li::marker { color: var(--wp--preset--color--gold); }
.ry-soon { background: var(--wp--preset--color--base); border-style: dashed; }
@media (min-width: 1100px) { .ry-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; } }
.ry-grid-5 .ry-card { padding: 1.5rem; }
.ry-grid-5 .ry-card h3 { font-size: 1.15rem; }

/* v2.3: full-width sunrise graveyard hero, text only */
.ry-hero-cover .wp-block-cover__inner-container { max-width: var(--wp--style--global--wide-size, 1200px); }
.ry-hero-cover .ry-hero-text > * { max-width: 620px; }
.ry-hero-cover .wp-block-cover__image-background { object-position: 60% 55%; }
.ry-hero-cover .wp-block-cover__background { background: linear-gradient(90deg, rgba(10, 33, 39, 0.78) 0%, rgba(10, 33, 39, 0.5) 40%, rgba(10, 33, 39, 0) 68%) !important; }
@media (max-width: 781px) {
	.ry-hero-cover .wp-block-cover__image-background { object-position: 77% 60%; }
	.ry-hero-cover .wp-block-cover__background { background: linear-gradient(180deg, rgba(10, 33, 39, 0.72) 0%, rgba(10, 33, 39, 0.5) 50%, rgba(10, 33, 39, 0.1) 100%) !important; }
}

/* v2.4: founder video hero with warm sunrise grade */
.ry-hero-cover { background: #2A2A22 url(../images/hero-shrine.jpg) 70% 40% / cover no-repeat; }
.ry-hero-cover .wp-block-cover__video-background { object-position: 70% 40%; }
.ry-hero-note { margin-top: 1.6rem !important; font-family: var(--wp--preset--font-family--serif); font-style: italic; font-size: 0.95rem; color: #E9D9B4; opacity: 0.9; }
.ry-hero-cover .wp-block-cover__background { background: linear-gradient(90deg, rgba(10, 33, 39, 0.86) 0%, rgba(10, 33, 39, 0.6) 38%, rgba(10, 33, 39, 0.05) 62%) !important; }
@media (max-width: 781px) {
	.ry-hero-cover, .ry-hero-cover .wp-block-cover__video-background { background-position: 78% 40%; object-position: 78% 40%; }
	.ry-hero-cover .wp-block-cover__background { background: linear-gradient(180deg, rgba(10, 33, 39, 0.8) 0%, rgba(10, 33, 39, 0.55) 55%, rgba(10, 33, 39, 0.25) 100%) !important; }
}

/* =====================================================================
   v3: "Shrine of light" — Multani kashi blue, marble ivory, saffron gold
   ===================================================================== */
:root {
	--ry-lapis: #17305C; --ry-lapis-2: #22437A; --ry-night: #0F2248;
	--ry-turq: #2A8C99; --ry-terra: #A9533A; --ry-maroon: #7E2440; --ry-chadar: #1E6B4C; --ry-saffron: #C8963E;
	--ry-glow: radial-gradient(ellipse 60% 70% at 50% 0%, rgba(236, 186, 98, 0.28), transparent 70%);
	--ry-arch: 999px 999px 18px 18px / 150px 150px 18px 18px;
}
body { background: var(--wp--preset--color--base) url(../images/girih-blue.svg) repeat; }
.wp-element-button, .wp-block-button__link { border-radius: 999px !important; font-weight: 600; letter-spacing: 0.01em; }
.wp-block-button:not(.is-style-outline) > .wp-block-button__link { background: var(--ry-lapis); color: #fff; }
.wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover { background: var(--ry-lapis-2); }
h1, h2, h3 { letter-spacing: -0.005em; }
.ry-eyebrow { color: var(--ry-saffron); letter-spacing: 0.22em; }

/* header with a kashi tile strip underneath */
.ry-header { background: rgba(250, 246, 236, 0.95); border-bottom: 0; position: sticky; }
.ry-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px; background: url(../images/kashi-strip.svg) repeat-x 0 0 / auto 10px; pointer-events: none; }
.ry-nav a { font-weight: 500; }
.ry-nav a:hover { color: var(--ry-turq); }

/* section heading ornament */
.ry-head h2::after, .ry-social h2::after { content: ""; display: block; width: 120px; height: 24px; margin-top: 0.9rem; background: url(../images/ornament.svg) no-repeat center / contain; }
.ry-center h2::after, .ry-social h2::after { margin-left: auto; margin-right: auto; }
.ry-green .ry-head h2::after, .ry-cta-in h2::after { filter: brightness(1.25); }

/* 8-point star numbers */
.ry-num {
	border: 0; border-radius: 0; width: 3rem; height: 3rem; color: #fff; font-weight: 600;
	background: var(--ry-saffron);
	clip-path: polygon(50% 0%, 63% 18%, 85% 15%, 82% 37%, 100% 50%, 82% 63%, 85% 85%, 63% 82%, 50% 100%, 37% 82%, 15% 85%, 18% 63%, 0% 50%, 18% 37%, 15% 15%, 37% 18%);
}

/* hero: lapis veil over the video */
.ry-hero-cover .wp-block-cover__background { background: linear-gradient(90deg, rgba(12, 26, 56, 0.9) 0%, rgba(12, 26, 56, 0.62) 38%, rgba(12, 26, 56, 0.05) 64%) !important; }
.ry-hero-cover::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: url(../images/kashi-strip.svg) repeat-x 0 0 / auto 14px; z-index: 2; }
.ry-hero-cover h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); font-weight: 600; }
.ry-hero-cover .wp-block-button:not(.is-style-outline) > .wp-block-button__link { background: var(--ry-saffron); color: #fff; }
.ry-hero-cover .wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover { background: #D8A853; }
@media (max-width: 781px) {
	.ry-hero-cover .wp-block-cover__background { background: linear-gradient(180deg, rgba(12, 26, 56, 0.85) 0%, rgba(12, 26, 56, 0.6) 55%, rgba(12, 26, 56, 0.3) 100%) !important; }
}

/* trust row */
.ry-trust { background: #fff; border: 0; padding-top: 2rem; padding-bottom: 1.8rem; }
.ry-trust p { border-left: 0; padding-left: 1.6rem; position: relative; }
.ry-trust p::before { content: ""; position: absolute; left: 0; top: 0.2rem; width: 1rem; height: 1rem; background: var(--ry-turq); clip-path: polygon(50% 0%, 63% 18%, 85% 15%, 82% 37%, 100% 50%, 82% 63%, 85% 85%, 63% 82%, 50% 100%, 37% 82%, 15% 85%, 18% 63%, 0% 50%, 18% 37%, 15% 15%, 37% 18%); }
.ry-trust strong { color: var(--ry-lapis); }

/* soft stone sections */
.ry-tint, .ry-social { background: var(--wp--preset--color--sand) url(../images/girih-blue.svg) repeat; }
.ry-social h2 { color: var(--ry-lapis); font-size: clamp(2.2rem, 4.6vw, 3.4rem); }

/* dark lapis sections with gold lattice and lamp glow */
.ry-green, .ry-band, .ry-footer {
	background-color: var(--ry-lapis) !important;
	background-image: var(--ry-glow), url(../images/girih-gold.svg) !important;
	background-repeat: no-repeat, repeat !important;
	position: relative;
}
.ry-green { color: #E3E9F3; }
.ry-green::before, .ry-band::after, .ry-footer::before { content: ""; position: absolute; left: 0; right: 0; height: 12px; background: url(../images/kashi-strip.svg) repeat-x 0 0 / auto 12px; }
.ry-green::before, .ry-footer::before { top: 0; }
.ry-band::after { bottom: 0; }
.ry-band { color: #DDE5F2; padding-top: clamp(3rem, 7vw, 5rem); padding-bottom: clamp(3rem, 7vw, 5rem); text-align: center; }
.ry-band-in > * { margin-left: auto !important; margin-right: auto !important; }
.ry-band h1 { font-size: clamp(2.6rem, 5.5vw, 4rem); }
.ry-band-sub, .ry-crumb a { color: #DDE5F2; }
.ry-footer { background-color: var(--ry-night) !important; color: #C7D1E3; padding-top: calc(var(--wp--preset--spacing--50) + 12px); }
.ry-footer-bottom { color: #9DAAC4; }
.ry-green .wp-block-button:not(.is-style-outline) > .wp-block-button__link { background: var(--ry-saffron); }

/* cards shaped like shrine arches (mihrab) */
.ry-card { border: 1px solid var(--wp--preset--color--line); border-radius: 22px; box-shadow: 0 18px 40px -32px rgba(23, 48, 92, 0.45); }
.ry-svc { border-radius: var(--ry-arch); padding-top: 2.6rem !important; text-align: center; outline: 1px solid rgba(200, 150, 62, 0.35); outline-offset: -9px; }
.ry-svc .ry-num { margin-left: auto; margin-right: auto; }
.ry-svc ul { text-align: left; }
.ry-soon { border-style: solid; background: #fff; }
.ry-card:hover { border-color: var(--ry-saffron); }
.ry-card h3::before { background: var(--ry-saffron); }

/* moments: videos in arched shrine windows */
.ry-moment .ry-video video, .ry-video video { border-radius: var(--ry-arch); }
.ry-moment-main .ry-video video { border-color: var(--ry-saffron); }
.ry-moment-cap, .ry-sign, .ry-faq summary { color: var(--ry-lapis); }
.ry-faq summary { font-size: 1.35rem; font-weight: 600; }
.ry-faq summary::after { color: var(--ry-saffron); }

/* colourful package cards */
.ry-pgrid { gap: 1.4rem !important; align-items: stretch; }
@media (min-width: 782px) { .ry-pgrid { max-width: 1100px !important; } }
.ry-pcard { --pc: var(--ry-lapis); background: #fff; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 24px 50px -34px rgba(23, 48, 92, 0.55); border: 1px solid rgba(0, 0, 0, 0.04); transition: transform .2s; }
.ry-pcard:hover { transform: translateY(-4px); }
.ry-pc-sage { --pc: var(--ry-chadar); } .ry-pc-teal { --pc: var(--ry-lapis); } .ry-pc-gold { --pc: #B07A27; }
.ry-pc-clay { --pc: var(--ry-terra); } .ry-pc-indigo { --pc: var(--ry-turq); } .ry-pc-rose { --pc: var(--ry-maroon); }
.ry-pcard-top { background: var(--pc) url(../images/girih-gold.svg) repeat; color: #fff; padding: 1.5rem 1.6rem 1.3rem; position: relative; margin: 0 !important; }
.ry-pcard-top h3 { color: #fff; font-family: var(--wp--preset--font-family--sans); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin: 0; }
.ry-pcard-top .ry-amount { color: #fff; font-size: 3.2rem; font-weight: 600; margin: 0.4rem 0 0.5rem; }
.ry-pcard-top .ry-amount span { color: rgba(255, 255, 255, 0.8); }
.ry-pcard-sub { margin: 0 !important; display: inline-block; font-size: 0.82rem; font-weight: 500; background: rgba(255, 255, 255, 0.16); border-radius: 8px; padding: 0.35rem 0.7rem; }
.ry-badge { position: absolute; top: 1.2rem; right: 1.2rem; margin: 0 !important; background: var(--ry-saffron); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 999px; padding: 0.25rem 0.7rem; }
.ry-pc-teal .ry-badge { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25); }
.ry-pcard-body { padding: 1.3rem 1.6rem 1.6rem; display: flex; flex-direction: column; flex-grow: 1; margin: 0 !important; }
.ry-check { list-style: none; padding: 0 !important; margin: 0 0 1.2rem !important; display: grid; gap: 0.55rem; flex-grow: 1; }
.ry-check li { position: relative; padding-left: 1.7rem; font-size: 0.95rem; line-height: 1.5; color: var(--wp--preset--color--ink); }
.ry-check li::before { content: "✓"; position: absolute; left: 0; top: 0.05rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; display: grid; place-items: center; font-size: 0.7rem; font-weight: 700; color: var(--pc); background: color-mix(in srgb, var(--pc) 14%, white); }
.ry-pcard .wp-block-buttons { display: grid; gap: 0.55rem; margin: 0; }
.ry-pcard .wp-block-button, .ry-pcard .wp-block-button__link { width: 100%; text-align: center; }
.ry-pcard .wp-block-button:not(.is-style-outline) > .wp-block-button__link { background: var(--pc); color: #fff; }
.ry-pcard .wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover { filter: brightness(1.12); }
.ry-pcard .is-style-outline > .wp-block-button__link { color: var(--pc) !important; border-color: color-mix(in srgb, var(--pc) 45%, white) !important; }
.ry-pcard .is-style-outline > .wp-block-button__link:hover { background: var(--pc) !important; color: #fff !important; }

/* forms and small parts */
.ry-form { border-radius: 24px; box-shadow: 0 30px 60px -40px rgba(23, 48, 92, 0.5); border-top: 4px solid var(--ry-saffron); }
.ry-submit { background: var(--ry-lapis); }
.ry-submit:hover { background: var(--ry-lapis-2); }
.ry-work-city > h3, .ry-work-empty h3, .ry-prov button.is-active { background: var(--ry-lapis); border-color: var(--ry-lapis); }

/* ---------- v3 components: sacred days, live visit, lamps, memorials ---------- */
.ry-sacred .ry-head > *, .ry-mempromo .ry-head > * { color: #E3E9F3; }
.ry-sacred h2, .ry-mempromo h2 { color: #fff !important; }
.ry-days { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; max-width: var(--wp--style--global--wide-size); margin: 0 auto; }
.ry-day { border: 1px solid rgba(226, 181, 102, 0.45); border-radius: var(--ry-arch); padding: 3.2rem 1.3rem 1.6rem; text-align: center; background: rgba(255, 255, 255, 0.04); }
.ry-day-star { display: block; width: 46px; height: 46px; margin: 0 auto 0.9rem; background: var(--ry-saffron); clip-path: polygon(50% 0%, 63% 18%, 85% 15%, 82% 37%, 100% 50%, 82% 63%, 85% 85%, 63% 82%, 50% 100%, 37% 82%, 15% 85%, 18% 63%, 0% 50%, 18% 37%, 15% 15%, 37% 18%); }
.ry-day h3 { color: #fff; font-size: 1.7rem; margin: 0; }
.ry-day .ry-ur { color: #E2B566; text-align: center; font-size: 1rem; line-height: 2; margin: 0; }
.ry-day-date { color: #fff; font-weight: 600; margin: 0.3rem 0 0.2rem; font-size: 0.95rem; }
.ry-day p:last-child { color: #C9D3E6; font-size: 0.9rem; margin: 0; }
.ry-days-note { text-align: center; font-size: 0.85rem; color: #AFBCD6; margin-top: 1.4rem !important; }
@media (max-width: 900px) { .ry-days { grid-template-columns: 1fr 1fr; } }

.ry-phone { position: relative; max-width: 300px; margin: 0 auto; background: #141A33; padding: 12px; border-radius: 44px; box-shadow: 0 40px 80px -30px rgba(23, 48, 92, 0.6); }
.ry-phone-img { margin: 0; }
.ry-phone-img img { width: 100%; aspect-ratio: 9 / 17; object-fit: cover; border-radius: 34px; display: block; }
.ry-live { position: absolute; top: 28px; left: 28px; margin: 0; background: #E5484D; color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.25rem 0.65rem; border-radius: 999px; }
.ry-live-cols { gap: clamp(2rem, 6vw, 5rem); }
.ry-live-step { background: #fff; border-radius: 16px; padding: 0.8rem 1.1rem; gap: 0.9rem; align-items: center; margin-top: 0.7rem !important; box-shadow: 0 14px 30px -26px rgba(23, 48, 92, 0.6); }
.ry-live-step .ry-num { width: 2.2rem; height: 2.2rem; margin: 0; flex-shrink: 0; font-size: 1rem; }
.ry-live-step p { margin: 0; }
.ry-livevisit .wp-block-buttons { margin-top: 1.4rem; }

.ry-lamp-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.6rem 2rem; margin: 2.4rem 0 1.6rem; }
.ry-lamp { margin: 0; display: grid; justify-items: center; width: 110px; text-align: center; font-size: 0.85rem; color: #CFD7E8; }
.ry-flame { width: 24px; height: 38px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: radial-gradient(circle at 50% 70%, #FFF6D6, #FFC768 45%, #F0812C 80%); box-shadow: 0 0 40px 14px rgba(255, 190, 90, 0.35); margin-bottom: -4px; animation: ry-flicker 2.6s ease-in-out infinite; }
.ry-diya { width: 66px; height: 24px; background: linear-gradient(#B4612F, #7A3A1A); border-radius: 0 0 40px 40px; margin-bottom: 0.6rem; }
.ry-lamp-off .ry-flame { background: none; box-shadow: none; border: 1px dashed rgba(232, 196, 120, 0.6); animation: none; }
.ry-lamp figcaption em { display: block; font-size: 0.8rem; color: #E2B566; margin-top: 0.2rem; }
@keyframes ry-flicker { 0%, 100% { transform: scale(1) rotate(-1deg); } 50% { transform: scale(1.06, 0.96) rotate(1.5deg); } }
@media (prefers-reduced-motion: reduce) { .ry-flame { animation: none; } }

.ry-lamps { max-width: 760px; margin: 0 auto; text-align: center; color: #E3E9F3; }
.ry-lamps h2 { color: #fff; }
.ry-lamps-count { color: #E2B566; font-weight: 600; }
.ry-lamp-form { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(226, 181, 102, 0.35); border-top-width: 1px; text-align: left; box-shadow: none; }
.ry-lamp-form label { color: #E3E9F3; }
.ry-lamp-form input { background: rgba(255, 255, 255, 0.92); }
.ry-lamp-form .ry-submit { background: var(--ry-saffron); }
.ry-lamp-msg { color: #E2B566; }
.ry-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.ry-mem-top { background: var(--wp--preset--color--sand) url(../images/girih-blue.svg); padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.ry-mem-head { display: grid; grid-template-columns: 300px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; max-width: var(--wp--style--global--wide-size); margin: 0 auto; }
.ry-mem-arch { aspect-ratio: 4 / 5; border-radius: var(--ry-arch); overflow: hidden; border: 3px solid var(--ry-saffron); background: var(--ry-lapis) url(../images/girih-gold.svg); display: grid; place-items: center; box-shadow: 0 30px 60px -30px rgba(23, 48, 92, 0.5); }
.ry-mem-photo { width: 100%; height: 100%; object-fit: cover; }
.ry-mem-star { width: 70px; height: 70px; background: var(--ry-saffron); clip-path: polygon(50% 0%, 63% 18%, 85% 15%, 82% 37%, 100% 50%, 82% 63%, 85% 85%, 63% 82%, 50% 100%, 37% 82%, 15% 85%, 18% 63%, 0% 50%, 18% 37%, 15% 15%, 37% 18%); }
.ry-mem-id h1 { margin: 0.3rem 0 0; font-size: clamp(2.6rem, 5vw, 4rem); }
.ry-mem-ur { text-align: left !important; font-size: 1.5rem; margin: 0; }
.ry-mem-rel { font-size: 1.15rem; color: var(--wp--preset--color--muted); margin: 0.3rem 0; }
.ry-mem-dates { font-family: var(--wp--preset--font-family--serif); font-size: 1.6rem; color: var(--ry-lapis); margin: 0.2rem 0; }
.ry-mem-place { color: var(--wp--preset--color--muted); margin: 0; }
.ry-mem-dua { text-align: left !important; color: var(--ry-saffron); font-size: 1.2rem; margin: 0.6rem 0 0; }
.ry-mem-body h2 { font-size: 2rem; margin-top: 2.4rem; }
.ry-record { max-width: 720px; margin: 3rem auto 0; background: #fff; border-radius: 20px; padding: 1.6rem 1.8rem; border-top: 4px solid var(--ry-turq); box-shadow: 0 20px 50px -40px rgba(23, 48, 92, 0.6); }
.ry-record dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem 1.6rem; margin: 0.8rem 0 0; }
.ry-record dt { font-size: 0.8rem; color: var(--wp--preset--color--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.ry-record dd { margin: 0; font-weight: 600; color: var(--ry-lapis); }
.ry-record-map { color: var(--ry-turq); font-weight: 600; }
.ry-visits { max-width: 720px; margin: 3rem auto 0; }
.ry-timeline { list-style: none; padding: 0 0 0 1.6rem; margin: 1rem 0 0; border-left: 2px solid var(--wp--preset--color--line); }
.ry-timeline li { position: relative; margin-bottom: 1.8rem; }
.ry-timeline li::before { content: ""; position: absolute; left: -2.15rem; top: 0.2rem; width: 1rem; height: 1rem; background: var(--ry-saffron); clip-path: polygon(50% 0%, 63% 18%, 85% 15%, 82% 37%, 100% 50%, 82% 63%, 85% 85%, 63% 82%, 50% 100%, 37% 82%, 15% 85%, 18% 63%, 0% 50%, 18% 37%, 15% 15%, 37% 18%); }
.ry-visit-date { font-size: 0.85rem; color: var(--ry-turq); font-weight: 600; margin: 0; }
.ry-timeline h3 { margin: 0.2rem 0 0.4rem; }
.ry-messages .ry-msg { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 16px; padding: 1rem 1.2rem; margin-bottom: 0.8rem; }
.ry-mem-search { max-width: 560px; margin: 0 auto 2.4rem; }
.ry-mem-search .wp-block-search__input { border-radius: 999px; padding: 0.8rem 1.1rem; border: 1px solid var(--wp--preset--color--line); }
.ry-mem-search .wp-block-search__button { border-radius: 999px; background: var(--ry-lapis); color: #fff; border: 0; padding: 0 1.4rem; }
.ry-mem-card { background: #fff; border-radius: var(--ry-arch); padding: 0.8rem 0.8rem 1.4rem; text-align: center; border: 1px solid var(--wp--preset--color--line); }
.ry-mem-card-img img { border-radius: var(--ry-arch); }
.ry-mem-card h3 { margin: 0.9rem 0 0.3rem; }
.ry-mem-card h3 a { text-decoration: none; color: var(--ry-lapis); }
.ry-mem-card .wp-block-post-excerpt { font-size: 0.92rem; color: var(--wp--preset--color--muted); padding: 0 0.8rem; }
.ry-band .wp-block-buttons { justify-content: center; margin-top: 1.4rem; }
.ry-band .wp-block-button:not(.is-style-outline) > .wp-block-button__link { background: var(--ry-saffron); }
.ry-ticks { list-style: none; padding: 0; display: grid; gap: 0.5rem; }
.ry-ticks li { padding-left: 1.6rem; position: relative; }
.ry-ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--ry-turq); font-weight: 700; }
.ry-thanks { text-align: center; }
.ry-form-err { color: #A32646; font-weight: 600; margin: 0; }
@media (max-width: 781px) {
	.ry-mem-head { grid-template-columns: 1fr; text-align: center; }
	.ry-mem-arch { max-width: 260px; margin: 0 auto; }
	.ry-mem-ur, .ry-mem-dua { text-align: center !important; }
	.ry-record dl { grid-template-columns: 1fr; }
}
.ry-messages .comment-respond { background: #fff; border-radius: 22px; padding: clamp(1.2rem, 4vw, 2rem); border-top: 4px solid var(--ry-saffron); box-shadow: 0 30px 60px -44px rgba(23, 48, 92, 0.5); }
.ry-messages .comment-reply-title { font-size: 1.6rem; margin: 0 0 0.4rem; }
.ry-messages label { display: block; font-size: 0.9rem; font-weight: 500; color: var(--ry-lapis); margin-bottom: 0.3rem; }
.ry-messages input[type=text], .ry-messages input[type=email], .ry-messages textarea { width: 100%; box-sizing: border-box; font: inherit; background: var(--wp--preset--color--base); border: 1px solid var(--wp--preset--color--line); border-radius: 12px; padding: 0.7rem 0.85rem; }
.ry-messages .comment-form-cookies-consent { display: flex; gap: 0.5rem; align-items: center; font-size: 0.85rem; }
.ry-messages .comment-form-cookies-consent label { display: inline; font-weight: 400; color: var(--wp--preset--color--muted); margin: 0; }
.ry-messages .form-submit input { font: inherit; font-weight: 600; background: var(--ry-lapis); color: #fff; border: 0; border-radius: 999px; padding: 0.85rem 1.6rem; cursor: pointer; }
.ry-messages > h2 { margin-bottom: 0.2rem; }

/* v3.1: readable text logo, blue pottery contact card, all-city select */
.ry-brand { gap: 0.75rem; align-items: center; flex-shrink: 0; }
.ry-brand-icon { margin: 0; }
.ry-brand-icon img { width: 52px; height: 52px; display: block; }
.ry-brand-text > * { margin: 0 !important; }
.ry-brand-en { font-family: var(--wp--preset--font-family--serif); font-size: 1.75rem; font-weight: 700; line-height: 1; }
.ry-brand-en a { color: var(--ry-lapis); text-decoration: none; }
.ry-brand-en span { color: var(--ry-saffron); }
.ry-brand-ur { font-family: var(--wp--preset--font-family--urdu); font-size: 1.15rem; line-height: 1.9; color: var(--ry-lapis); direction: rtl; text-align: left; font-weight: 600; }
@media (max-width: 781px) { .ry-brand-icon img { width: 42px; height: 42px; } .ry-brand-en { font-size: 1.4rem; } .ry-brand-ur { font-size: 1rem; } }

.ry-contact-card {
	background: var(--ry-lapis) url(../images/girih-gold.svg) !important; color: #E3E9F3 !important;
	border: 0 !important; border-radius: 22px !important; position: relative; overflow: hidden; padding-top: 2.4rem !important;
	box-shadow: 0 30px 60px -36px rgba(23, 48, 92, 0.7);
}
.ry-contact-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: url(../images/kashi-strip.svg) repeat-x 0 0 / auto 12px; }
.ry-contact-card h3 { color: #fff !important; font-size: 1.8rem !important; }
.ry-contact-card h3::before { background: var(--ry-saffron) !important; }
.ry-contact-card p { color: #DDE5F2 !important; }
.ry-contact-card strong { color: #E2B566; }
.ry-contact-card a { color: #fff; text-decoration-color: var(--ry-saffron); text-underline-offset: 3px; }
.ry-wa { width: 58px; height: 58px; }
.ry-svc .wp-block-buttons { justify-content: center; margin-top: 1.2rem; gap: 0.5rem; }
.ry-svc .wp-block-button__link { font-size: 0.9rem; padding: 0.6rem 1.1rem; }
.ry-svc-link { margin-top: 0.8rem !important; font-size: 0.9rem !important; font-weight: 600; }
.ry-svc-link a { color: var(--ry-turq) !important; text-decoration: none; }

/* v3.2: blue pottery frame (thin tile line on all four sides) */
.ry-pottery { position: relative; overflow: hidden; border-radius: 18px !important; border: 0 !important; padding: calc(var(--wp--preset--spacing--40, 1.75rem) + 6px) !important; background-color: #fff; }
.ry-pottery::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: url(../images/pottery-h.svg) repeat-x 0 0 / auto 6px, url(../images/pottery-h.svg) repeat-x 0 100% / auto 6px,
              url(../images/pottery-v.svg) repeat-y 0 0 / 6px auto, url(../images/pottery-v.svg) repeat-y 100% 0 / 6px auto; }
.ry-pottery:hover { transform: translateY(-2px); }
.ry-plan img { aspect-ratio: auto !important; height: auto; object-fit: contain; border-radius: 22px !important; border: 6px solid #fff; box-shadow: 0 0 0 2px var(--ry-lapis), 0 24px 50px -30px rgba(23,48,92,.6); }
.ry-plan figcaption { text-align: center; color: var(--wp--preset--color--muted); font-size: .9rem; margin-top: .8rem; }
/* v3.2: full logo in footer */
.ry-footer-name { font-weight: 700; font-size: 1.6rem; line-height: 1; margin-top: .8rem !important; }
.ry-footer-name span { color: var(--ry-saffron); }
.ry-footer-ur { font-family: var(--wp--preset--font-family--urdu); font-size: 1.25rem; line-height: 1.9; color: #fff; margin: .1rem 0 0 !important; font-weight: 600; }
.ry-footer-tag { margin: .2rem 0 0 !important; }
.ry-footer-by { margin: .6rem 0 0 !important; color: var(--ry-saffron); font-weight: 600; font-size: .95rem; }
.ry-footer-tag-ur { font-family: var(--wp--preset--font-family--urdu); direction: rtl; text-align: left; font-size: 1rem; line-height: 2; margin: .1rem 0 0 !important; color: #C7D1E3; }

/* v4: phone menu (theme's own toggle) */
.ry-burger { display: none; }
@media (max-width: 900px) {
	.ry-burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 10px; border: 1px solid var(--wp--preset--color--line); border-radius: 12px; background: #fff; cursor: pointer; }
	.ry-burger span { display: block; height: 2px; border-radius: 2px; background: var(--ry-lapis); transition: transform .2s, opacity .2s; }
	.ry-menu-open .ry-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.ry-menu-open .ry-burger span:nth-child(2) { opacity: 0; }
	.ry-menu-open .ry-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	.ry-header-right { gap: 0.6rem !important; }
	.ry-header .ry-nav { display: none !important; }
	.ry-menu-open .ry-header .ry-nav { display: flex !important; flex-direction: column; align-items: stretch !important; gap: 0 !important; position: absolute; top: 100%; left: 0; right: 0; background: #FBF8F1; padding: 0.5rem 1.25rem 1.25rem; box-shadow: 0 24px 40px -24px rgba(23, 48, 92, 0.45); border-top: 3px solid var(--ry-lapis); z-index: 1000; }
	.ry-menu-open .ry-nav .wp-block-navigation__container { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
	.ry-menu-open .ry-nav a { display: block; padding: 0.85rem 0.25rem; font-size: 1.1rem; border-bottom: 1px solid var(--wp--preset--color--line); }
	.ry-header { position: sticky; }
}

/* v4: Urdu version (right to left, Nastaliq) */
.ry-lang { font-family: 'Noto Nastaliq Urdu', serif; font-size: 1.05rem; font-weight: 600; line-height: 1; color: var(--ry-lapis); text-decoration: none; border: 1px solid var(--ry-saffron); border-radius: 999px; padding: 0.55rem 0.95rem 0.75rem; white-space: nowrap; background: #fff; }
.ry-lang[lang="en"] { font-family: var(--wp--preset--font-family--body, Inter, sans-serif); font-size: 0.92rem; padding: 0.5rem 0.95rem; }
.ry-lang:hover { background: var(--ry-lapis); color: #fff; }
.ry-header-right p:has(> .ry-lang) { margin: 0; }
.ry-lang-ur { font-family: 'Noto Nastaliq Urdu', serif; }
.ry-lang-ur :is(p, li, h1, h2, h3, h4, summary, label, input, select, textarea, button, dt, dd, figcaption, .wp-block-button__link, .wp-block-navigation-item__label) { font-family: 'Noto Nastaliq Urdu', serif; letter-spacing: 0 !important; }
.ry-lang-ur :is(p, li, label, dd, summary, figcaption) { line-height: 2.15; }
.ry-lang-ur :is(h1, h2, h3, h4) { line-height: 1.75; font-weight: 700; }
.ry-lang-ur .ry-eyebrow { text-transform: none; font-size: 0.95rem; }
.ry-lang-ur :is(.ry-brand-en, .ry-footer-name, .ry-lang[lang="en"]) { font-family: var(--wp--preset--font-family--serif); }
.ry-lang-ur .ry-lang[lang="en"] { font-family: Inter, system-ui, sans-serif; }
.ry-lang-ur .ry-brand-ur, .ry-lang-ur .ry-footer-ur { text-align: right; }
.ry-lang-ur .ry-day .ry-ur, .ry-lang-ur .ry-mem-dates { direction: rtl; }
.ry-lang-ur .ry-day .ry-ur { display: none; }
.ry-lang-ur input[type="url"], .ry-lang-ur input[name="phone"] { direction: ltr; text-align: right; }
.ry-lang-ur .ry-cities button, .ry-lang-ur select option { font-family: Inter, system-ui, sans-serif; }
.ry-lang-ur .ry-hero-cover .wp-block-cover__background { background: linear-gradient(270deg, rgba(12, 26, 56, 0.9) 0%, rgba(12, 26, 56, 0.62) 38%, rgba(12, 26, 56, 0.05) 64%) !important; }
.ry-lang-ur .ry-hero h1 { font-size: clamp(2rem, 3.6vw, 3.1rem) !important; line-height: 1.7 !important; }
.ry-lang-ur h2 { font-size: clamp(1.55rem, 2.6vw, 2.3rem) !important; }
.ry-lang-ur h3 { font-size: clamp(1.1rem, 1.6vw, 1.3rem) !important; }
@media (max-width: 900px) {
	.ry-header-btn { display: none !important; }
	.ry-lang { padding: 0.45rem 0.7rem 0.6rem; font-size: 0.95rem; }
	.ry-lang[lang="en"] { padding: 0.4rem 0.7rem; font-size: 0.85rem; }
}
@media (max-width: 781px) {
	.ry-lang-ur .ry-hero-cover .wp-block-cover__background { background: linear-gradient(180deg, rgba(12, 26, 56, 0.85) 0%, rgba(12, 26, 56, 0.6) 55%, rgba(12, 26, 56, 0.3) 100%) !important; }
	.ry-lang-ur .ry-hero h1 { font-size: 1.9rem !important; }
	.ry-lang-ur h2 { font-size: 1.5rem !important; }
}
.ry-hp { position: absolute !important; left: auto !important; right: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip-path: inset(50%) !important; opacity: 0 !important; }
@media (max-width: 900px) { .ry-menu-open .ry-nav .wp-block-navigation-item { width: 100%; } }
