/*
Theme Name: Vivah Theme
Description: Child theme of Twenty Twenty-Five for the Vivah Match matrimonial site.
Template: twentytwentyfive
Version: 0.2.0
Requires at least: 6.7
Requires PHP: 8.0
Text Domain: vivah-theme
License: GNU General Public License v2 or later
*/

/* Header navigation rendered by the [vm_site_nav] shortcode. */
.vt-nav { display: flex; align-items: center; gap: .25rem; flex-wrap: wrap; justify-content: flex-end; }
.vt-nav a { padding: .5rem .8rem; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--wp--preset--color--contrast); }
.vt-nav a:hover { background: var(--wp--preset--color--accent-6); }
.vt-nav a.vt-cta { background: var(--wp--preset--color--accent-1); color: #fff; padding-inline: 1.1rem; }
.vt-nav a.vt-cta:hover { background: var(--wp--preset--color--accent-3); }
.vt-nav .vt-count { display: inline-block; min-width: 1.3em; margin-left: .2rem; padding: 0 .35em; border-radius: 999px; background: var(--wp--preset--color--accent-2); color: #fff; font-size: .78rem; text-align: center; }
@media (max-width: 599px) {
	.vt-nav a { padding: .4rem .55rem; font-size: .88rem; }
}

/* Quick search box on the home page. */
.vt-quick { background: #fff; color: var(--wp--preset--color--contrast); border-radius: 16px; padding: 1.25rem; display: grid; gap: .75rem; grid-template-columns: 1fr; box-shadow: 0 10px 30px rgba(60, 20, 30, .18); max-width: 720px; }
@media (min-width: 700px) { .vt-quick { grid-template-columns: repeat(4, minmax(0, 1fr)) auto; align-items: end; } }
.vt-quick label { display: flex; flex-direction: column; gap: .25rem; font-size: .85rem; font-weight: 600; }
.vt-quick select { min-height: 44px; padding: .5rem .6rem; border: 1px solid #cdbfc3; border-radius: 8px; font: inherit; background: #fff; }
.vt-quick .vt-age { display: flex; gap: .35rem; align-items: center; }
.vt-quick .vt-age select { flex: 1; min-width: 0; }
.vt-quick button { min-height: 44px; padding: .6rem 1.4rem; border: 0; border-radius: 999px; background: var(--wp--preset--color--accent-1); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.vt-quick button:hover { background: var(--wp--preset--color--accent-3); }

.vt-footer-note { opacity: .85; }

.vt-nav a.vt-bell { padding-inline: .6rem; }

/* Language switcher (header nav and footer). */
.vt-lang { display: inline-flex; align-items: center; gap: .35rem; margin-left: .5rem; padding: .3rem .7rem; border: 1px solid var(--wp--preset--color--accent-6); border-radius: 999px; font-size: .9rem; }
.vt-nav .vt-lang a { padding: 0; border-radius: 0; font-weight: 600; }
.vt-nav .vt-lang a:hover { background: none; text-decoration: underline; }
.vt-lang [aria-current] { font-weight: 800; color: var(--wp--preset--color--accent-1); }
.vt-lang [aria-hidden] { opacity: .4; }
.vt-lang-footer { margin-left: 0; border-color: #ffffff55; }
.vt-lang-footer [aria-current] { color: #fff; }

/* Devanagari text needs a little more line height and a font that has the glyphs. */
:lang(mr) body, body:lang(mr) { font-family: Manrope, "Noto Sans Devanagari", "Nirmala UI", "Mangal", sans-serif; }
:lang(mr) h1, :lang(mr) h2, :lang(mr) h3 { font-family: Vollkorn, "Noto Serif Devanagari", "Nirmala UI", "Mangal", serif; line-height: 1.3; }
.vm-lang-note { padding: .6rem .9rem; border-radius: 8px; background: #fdf3dc; color: #8a5a00; }

/* Saptapadi logo ([vt_logo]). */
.vt-logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; line-height: 1; }
.vt-logo-mark { width: 48px; height: 44px; flex: none; }
.vt-logo-words { display: grid; gap: .2rem; }
.vt-logo-latin { font-family: Vollkorn, Georgia, serif; font-style: italic; font-weight: 500; font-size: 1.7rem; letter-spacing: .01em; }
.vt-logo-deva { font-family: "Tiro Devanagari Marathi", "Nirmala UI", "Mangal", serif; font-size: .95rem; padding-left: .1rem; }
.vt-logo-light .vt-ink-stroke { stroke: #6D1631; }
.vt-logo-light .vt-gold-stroke { stroke: #B8892A; }
.vt-logo-light .vt-gold-fill { fill: #B8892A; }
.vt-logo-light .vt-logo-latin { color: #6D1631; }
.vt-logo-light .vt-logo-deva { color: #A97E1C; }
.vt-logo-white .vt-ink-stroke { stroke: #FBF1E6; }
.vt-logo-white .vt-gold-stroke { stroke: #E0B85A; }
.vt-logo-white .vt-gold-fill { fill: #E0B85A; }
.vt-logo-white .vt-logo-latin { color: #FBF1E6; }
.vt-logo-white .vt-logo-deva { color: #E0B85A; }
.vt-logo:focus-visible { outline: 2px solid #C99A2E; outline-offset: 4px; border-radius: 4px; }
@media (max-width: 599px) {
	.vt-logo-mark { width: 38px; height: 35px; }
	.vt-logo-latin { font-size: 1.4rem; }
	.vt-logo-deva { font-size: .82rem; }
}

/* Homepage banner slider: sits directly under the header, no gap above or below. */
main.wp-block-group:has(> .vt-home-slider:first-child) { margin-block-start: 0; }
.vt-home-slider { margin: 0; line-height: 0; }
.vt-home-slider + * { margin-block-start: 0; }
