/*
Theme Name:  Alyeska Child — Jai Hanuman Ji
Description: Saffron-maroon devotional redesign for JaiHanumanji.in
Template:    alyeska
Version:     1.0
*/

/* ─────────────────────────────────────────
   CSS CUSTOM PROPERTIES
───────────────────────────────────────── */
:root {
  --jh-bg:      #FBF2DC;
  --jh-card:    #FFF8E8;
  --jh-surface: #FFFFFF;
  --jh-ink:     #1A0800;
  --jh-maroon:  #7A1410;
  --jh-saffron: #E06010;
  --jh-gold:    #BF8C10;
  --jh-mid:     #7A4E28;
  --jh-line:    #E0C890;
  --jh-dark:    #2E0A08;
}

/* ─────────────────────────────────────────
   GLOBAL TYPOGRAPHY & BODY
───────────────────────────────────────── */
html, body {
  background: var(--jh-bg) !important;
  color: var(--jh-ink);
  font-family: 'Hind', Helvetica, Arial, sans-serif;
}

#wrapper {
  background: var(--jh-bg) !important;
  min-height: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--jh-maroon);
  font-weight: 600;
  line-height: 1.2;
}

p {
  font-family: 'Hind', Helvetica, Arial, sans-serif;
  color: var(--jh-ink);
  line-height: 1.75;
}

a {
  color: var(--jh-saffron);
}

a:hover, a:focus {
  color: var(--jh-maroon);
  text-decoration: underline;
}

/* ─────────────────────────────────────────
   HEADER — TOP ZONE
───────────────────────────────────────── */
#top {
  background: var(--jh-surface) !important;
  border-bottom: none;
  box-shadow: 0 1px 0 var(--jh-line);
}

#branding {
  background: var(--jh-surface) !important;
  border-bottom: none;
}

#header_content {
  background: var(--jh-surface) !important;
  padding: 14px 0;
}

.header_content-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.header_logo, .header_logo_image {
  background: transparent !important;
}

/* Social icons + contact in header */
.header-addon {
  text-align: right;
}

.header-text {
  font-family: 'Hind', sans-serif;
  font-size: 0.82rem;
  color: var(--jh-mid);
  margin-top: 4px;
}

.social-media ul {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-media .themeblvd-contact-bar ul.social-media-color li a {
  font-size: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--jh-bg) !important;
  color: var(--jh-maroon) !important;
  border: 1px solid var(--jh-line);
  font-family: 'Hind', sans-serif;
}

.social-media .themeblvd-contact-bar ul.social-media-color li a:hover {
  background: var(--jh-maroon) !important;
  border-color: var(--jh-maroon);
}

/* ─────────────────────────────────────────
   NAVIGATION BAR
───────────────────────────────────────── */
#menu-wrapper {
  background: var(--jh-surface) !important;
  border-top: 1px solid var(--jh-line);
  border-bottom: 3px solid var(--jh-maroon) !important;
  box-shadow: none !important;
}

#main-menu {
  background: transparent !important;
}

#menu-inner,
#menu-inner.flip-menu,
#menu-inner.flip-red,
#menu-inner.flip-menu.flip-red {
  background: var(--jh-surface) !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.menu-middle {
  background: transparent !important;
}

.menu-left, .menu-right {
  display: none !important;
}

.main-top-left, .main-top-right, .main-top-middle {
  display: none !important;
}

/* Primary menu links */
#primary-menu.sf-menu,
#primary-menu.sf-menu li {
  background: transparent !important;
}

#primary-menu.sf-menu > li > a {
  font-family: 'Hind', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.09em !important;
  text-transform: uppercase !important;
  color: var(--jh-ink) !important;
  background: transparent !important;
  padding: 10px 16px 8px !important;
  line-height: 1.2 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 2px !important;
  border-bottom: 3px solid transparent !important;
  margin-bottom: -3px !important;
  transition: color 0.15s, border-color 0.15s !important;
  text-shadow: none !important;
}

#primary-menu.sf-menu > li > a:hover,
#primary-menu.sf-menu > li:hover > a,
#primary-menu.sf-menu > li.current-menu-item > a,
#primary-menu.sf-menu > li.current-menu-ancestor > a {
  color: var(--jh-maroon) !important;
  background: transparent !important;
  border-bottom-color: var(--jh-maroon) !important;
}

/* Hindi sub-labels injected by JS */
.jh-nav-hi {
  font-family: 'Tiro Devanagari Hindi', Georgia, serif;
  font-size: 12px;
  color: var(--jh-gold);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  display: block;
  line-height: 1;
}

/* sf-menu sub-indicator carets */
#primary-menu.sf-menu li .sf-sub-indicator {
  color: var(--jh-gold) !important;
  margin-left: 4px !important;
}

/* Dropdown sub-menus */
#primary-menu.sf-menu ul.sub-menu {
  background: var(--jh-surface) !important;
  border: 1px solid var(--jh-line) !important;
  border-top: 2px solid var(--jh-maroon) !important;
  box-shadow: 0 4px 16px rgba(122,20,16,0.08) !important;
  border-radius: 0 0 3px 3px !important;
}

#primary-menu.sf-menu ul.sub-menu li a {
  font-family: 'Hind', sans-serif !important;
  font-size: 0.82rem !important;
  color: var(--jh-mid) !important;
  background: transparent !important;
  padding: 8px 16px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 500 !important;
  border-bottom: none !important;
}

#primary-menu.sf-menu ul.sub-menu li a:hover {
  color: var(--jh-maroon) !important;
  background: var(--jh-bg) !important;
}

/* Mobile nav toggle */
.btn-navbar {
  color: var(--jh-maroon) !important;
  background: var(--jh-bg) !important;
  border: 1px solid var(--jh-line) !important;
}

/* Search trigger */
#search-trigger {
  color: var(--jh-mid) !important;
  font-size: 14px !important;
  font-family: 'Hind', sans-serif !important;
  letter-spacing: 0.08em !important;
}

/* ─────────────────────────────────────────
   MAIN CONTENT AREA
───────────────────────────────────────── */
#main, .main-inner, .main-content {
  background: transparent !important;
}

#main {
  padding: 32px 0;
}

/* Boxed layout fix */
.boxed-layout {
  background: var(--jh-surface) !important;
}

/* ─────────────────────────────────────────
   POST / PAGE ENTRIES
───────────────────────────────────────── */
.post, .page, article {
  background: var(--jh-surface);
  border: 1px solid var(--jh-line);
  border-radius: 3px;
  margin-bottom: 24px;
}

.entry-header, .entry-title, .post-title {
  color: var(--jh-maroon) !important;
  font-family: 'Playfair Display', Georgia, serif;
}

.entry-content h1,
.entry-content h2,
.entry-content h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--jh-maroon);
  margin-top: 1.5em;
  margin-bottom: 0.6em;
}

.entry-content p {
  color: var(--jh-ink);
  font-family: 'Hind', sans-serif;
  font-size: 0.96rem;
  line-height: 1.8;
}

/* Article wrap (layout builder elements) */
.article-wrap {
  background: var(--jh-surface) !important;
  border: 1px solid var(--jh-line) !important;
  border-radius: 3px !important;
}

/* Post list / grid items */
.post_grid article,
.element-post_list_slider .post,
.post-entry {
  background: var(--jh-surface) !important;
  border: 1px solid var(--jh-line) !important;
  border-radius: 3px !important;
}

.post_title a, .post-title a {
  color: var(--jh-maroon) !important;
  font-family: 'Playfair Display', Georgia, serif !important;
}

.post_title a:hover, .post-title a:hover {
  color: var(--jh-saffron) !important;
}

.post_info, .byline, .entry-meta {
  color: var(--jh-mid) !important;
  font-size: 0.75rem !important;
  font-family: 'Hind', sans-serif !important;
}

/* "Read more" link */
.more-link, a.more-link {
  color: var(--jh-saffron) !important;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
}

/* ─────────────────────────────────────────
   BUTTONS
───────────────────────────────────────── */
.btn,
.button,
input[type='submit'],
button[type='submit'],
.themeblvd-button,
.tb-button {
  background: var(--jh-saffron) !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 3px !important;
  font-family: 'Hind', sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
  text-shadow: none !important;
  transition: background 0.15s !important;
}

.btn:hover, .button:hover, input[type='submit']:hover, .themeblvd-button:hover {
  background: var(--jh-maroon) !important;
  color: #FFFFFF !important;
}

/* ─────────────────────────────────────────
   SIDEBARS & WIDGETS
───────────────────────────────────────── */
#sidebar-1, #sidebar-2,
.sidebar, aside.widget-area {
  background: transparent;
}

.widget {
  background: var(--jh-surface);
  border: 1px solid var(--jh-line);
  border-radius: 3px;
  padding: 20px;
  margin-bottom: 20px;
}

.widget-title {
  font-family: 'Hind', sans-serif !important;
  font-size: 0.65rem !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: var(--jh-mid) !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid var(--jh-line) !important;
  margin-bottom: 14px !important;
  font-weight: 600 !important;
}

/* ─────────────────────────────────────────
   LAYOUT BUILDER ELEMENTS
───────────────────────────────────────── */

/* Sliders / featured images */
.element-content {
  background: transparent !important;
}

/* Dividers */
.element-divider hr {
  border-color: var(--jh-line) !important;
}

/* Headline elements */
.element-headline h1,
.element-headline h2,
.element-headline h3 {
  font-family: 'Playfair Display', Georgia, serif !important;
  color: var(--jh-maroon) !important;
}

/* Column sets */
.column-content {
  background: transparent;
}

/* ─────────────────────────────────────────
   FEATURED / SLIDER AREA
───────────────────────────────────────── */
#featured, .featured-area {
  background: transparent;
}

/* Revolution slider override — keep images full width */
.revslider-initialised .tp-bgimg,
.rev_slider_wrapper {
  max-width: 100%;
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
#bottom {
  background: var(--jh-dark) !important;
  border-top: 3px solid var(--jh-maroon) !important;
}

#colophon {
  background: var(--jh-dark) !important;
}

.colophon-inner {
  background: var(--jh-dark) !important;
}

/* Footer text */
#colophon,
#colophon p,
#colophon a,
#colophon .widget,
.colophon-inner,
.colophon-inner p {
  color: rgba(255, 255, 255, 0.55) !important;
  font-family: 'Hind', sans-serif !important;
  font-size: 0.82rem !important;
}

#colophon .widget {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

#colophon .widget-title {
  color: rgba(255, 255, 255, 0.3) !important;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

#colophon a:hover {
  color: var(--jh-gold) !important;
}

/* Copyright bar */
#colophon .sub-content,
.footer-copyright,
.sub-colophon {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.3) !important;
  font-size: 0.75rem !important;
}

/* ─────────────────────────────────────────
   BREADCRUMBS
───────────────────────────────────────── */
#breadcrumbs, .breadcrumb-trail {
  background: var(--jh-card) !important;
  border-bottom: 1px solid var(--jh-line) !important;
  padding: 8px 20px !important;
  font-size: 14px !important;
  color: var(--jh-mid) !important;
  font-family: 'Hind', sans-serif !important;
}

#breadcrumbs a, .breadcrumb-trail a {
  color: var(--jh-mid) !important;
}

#breadcrumbs a:hover, .breadcrumb-trail a:hover {
  color: var(--jh-maroon) !important;
}

/* ─────────────────────────────────────────
   FORMS
───────────────────────────────────────── */
input[type='text'],
input[type='email'],
input[type='search'],
textarea {
  border: 1px solid var(--jh-line) !important;
  background: var(--jh-surface) !important;
  color: var(--jh-ink) !important;
  font-family: 'Hind', sans-serif !important;
  border-radius: 2px !important;
}

input[type='text']:focus,
input[type='email']:focus,
textarea:focus {
  border-color: var(--jh-gold) !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(191, 140, 16, 0.15) !important;
}

/* ─────────────────────────────────────────
   DEVANAGARI TEXT ELEMENTS
   (used by existing content with .hindi or
    inline Devanagari text)
───────────────────────────────────────── */
.hindi, .devanagari, .dv-text {
  font-family: 'Tiro Devanagari Hindi', Georgia, serif !important;
  color: var(--jh-maroon);
  line-height: 2;
}

/* Prayer / verse blocks — common in content */
blockquote {
  border-left: 3px solid var(--jh-gold) !important;
  background: var(--jh-card) !important;
  color: var(--jh-maroon) !important;
  font-family: 'Tiro Devanagari Hindi', Georgia, serif !important;
  font-size: 1.05rem !important;
  line-height: 2.1 !important;
  padding: 16px 20px !important;
  margin: 20px 0 !important;
  border-radius: 0 3px 3px 0 !important;
}

blockquote p {
  color: var(--jh-maroon) !important;
  font-family: 'Tiro Devanagari Hindi', Georgia, serif !important;
  font-size: 1.05rem !important;
}

/* ─────────────────────────────────────────
   PAGE TITLE BAND (inner pages)
───────────────────────────────────────── */
.page-title-wrap,
.themeblvd-page-title {
  background: var(--jh-maroon) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 28px 0 24px !important;
}

.page-title-wrap h1,
.themeblvd-page-title h1,
.page-title {
  font-family: 'Playfair Display', Georgia, serif !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-style: italic !important;
  font-weight: 400 !important;
  font-size: 2rem !important;
}

/* ─────────────────────────────────────────
   MISCELLANEOUS CLEANUP
───────────────────────────────────────── */

/* Remove default red/orange from Alyeska's flip-red nav */
.flip-red #menu-inner,
.flip-menu .menu-middle,
.flip-menu #main-menu {
  background: var(--jh-surface) !important;
  background-image: none !important;
  box-shadow: none !important;
}

/* Clearfix and utility overrides */
.clear { display: block; clear: both; }
.clearfix::after { content: ''; display: table; clear: both; }

/* Horizontal scrolling announcement bar — if active */
#horizontal-slider {
  background: var(--jh-maroon) !important;
  color: var(--jh-gold) !important;
  font-family: 'Tiro Devanagari Hindi', Georgia, serif !important;
}

/* Contact Form 7 */
.wpcf7 input[type='submit'] {
  background: var(--jh-saffron) !important;
  color: #fff !important;
}

/* PushCrew notification bell */
.pushcrew-bell-widget {
  filter: hue-rotate(-30deg) saturate(1.5);
}
