/*
Theme Name: GMUCB Child
Theme URI: https://mandliksoft.com/
Description: Shri Gajanan Maharaj Urban Co-operative Bank website child theme.
Author: Mandlik Soft
Template: generatepress
Version: 1.0.1
Text Domain: gmucb
*/

:root {
  --navy: #27156f;
  --navy-dark: #171044;
  --red: #d52322;
  --yellow: #f3c31b;
  --ink: #1f2630;
  --muted: #5f6874;
  --line: #dfe3e8;
  --soft: #f4f6f8;
  --paper: #fff;
  --shadow: 0 16px 36px rgba(21, 24, 43, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 156px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Nirmala UI", "Mangal", Arial, sans-serif; font-size: 16px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(1160px, calc(100% - 36px)); margin: 0 auto; }
.screen-reader-text, .skip-link { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { width: auto; height: auto; clip: auto; padding: 9px 14px; color: #fff; background: var(--navy); z-index: 100; }

.site-header { position: sticky; top: 0; z-index: 30; background: #fff; box-shadow: 0 1px 0 var(--line); }
.top-strip { color: #fff; background: var(--navy-dark); font-size: 13px; }
.top-strip__inner { min-height: 34px; display: flex; align-items: center; gap: 22px; }
.top-strip__inner .hours { margin-left: auto; }
.brand-row { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { min-width: 0; display: flex; align-items: center; gap: 13px; }
.brand-logo { width: 64px; height: 64px; flex: 0 0 auto; object-fit: contain; }
.brand strong, .brand small { display: block; }
.brand strong { color: var(--navy); font-size: clamp(17px, 2.2vw, 25px); line-height: 1.2; }
.brand small { color: var(--red); font-size: 14px; font-weight: 700; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.menu-toggle span:not(.screen-reader-text) { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--navy); }
.main-nav { color: #fff; background: var(--navy); }
.nav-grid { min-height: 44px; display: flex; align-items: center; gap: 0; margin: 0; padding: 0; list-style: none; }
.nav-grid > li { position: relative; margin: 0; }
.nav-grid a { display: block; padding: 10px 15px; border-bottom: 3px solid transparent; font-weight: 700; }
.nav-grid a:hover, .nav-grid a:focus, .nav-grid .current-menu-item > a { border-color: var(--yellow); background: rgba(255,255,255,.08); }
.nav-grid .sub-menu { min-width: 235px; display: none; position: absolute; top: 100%; left: 0; z-index: 40; margin: 0; padding: 7px 0; background: #fff; box-shadow: var(--shadow); list-style: none; }
.nav-grid .sub-menu a { padding: 10px 16px; color: var(--ink); border: 0; }
.nav-grid .sub-menu a:hover, .nav-grid .sub-menu a:focus { color: var(--navy); background: var(--soft); }
.nav-grid li:hover > .sub-menu, .nav-grid li:focus-within > .sub-menu { display: block; }

.hero { min-height: min(700px, calc(100vh - 156px)); position: relative; display: flex; align-items: center; overflow: hidden; color: #fff; }
.hero__background, .hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__background { object-fit: cover; object-position: center 62%; }
.hero__shade { background: linear-gradient(90deg, rgba(13,10,43,.91), rgba(23,16,68,.75) 48%, rgba(23,16,68,.15) 78%); }
.hero__content { position: relative; padding: 70px 0 88px; }
.eyebrow, .section-kicker { margin: 0 0 9px; color: var(--red); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0; }
.hero .eyebrow { color: var(--yellow); font-size: 16px; }
h1, h2, h3, p, strong { overflow-wrap: anywhere; }
h1 { margin: 0; font-size: clamp(40px, 6.8vw, 78px); line-height: 1.08; letter-spacing: 0; }
h2 { margin: 0; font-size: clamp(28px, 4vw, 44px); line-height: 1.18; letter-spacing: 0; }
h3 { margin: 0 0 7px; font-size: 20px; line-height: 1.35; }
.hero h1 { max-width: 800px; text-shadow: 0 2px 18px rgba(0,0,0,.28); }
.hero__location { margin: 13px 0 0; color: var(--yellow); font-size: 22px; font-weight: 800; }
.hero__lead { max-width: 640px; margin: 8px 0 0; font-size: 18px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; border: 1px solid transparent; border-radius: 6px; font-weight: 800; }
.btn-primary { color: #161038; background: var(--yellow); }
.btn-primary:hover, .btn-primary:focus { color: #161038; background: #ffda46; }
.btn-secondary { color: #fff; border-color: rgba(255,255,255,.75); background: rgba(255,255,255,.08); }
.text-link { display: inline-block; margin-top: 10px; color: var(--navy); border-bottom: 2px solid var(--yellow); font-weight: 800; }

.notice-band { color: #fff; background: var(--red); }
.notice-band__inner { min-height: 62px; display: flex; align-items: center; gap: 18px; }
.notice-band p { flex: 1; margin: 0; }
.notice-band a { font-weight: 800; text-decoration: underline; }
.section { padding: 78px 0; }
.section-soft { background: var(--soft); }
.section-heading { max-width: 740px; margin-bottom: 30px; }
.section-heading--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.about-copy p { margin: 0 0 16px; color: var(--muted); font-size: 17px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stat { min-height: 145px; padding: 24px; border-left: 4px solid var(--red); background: #fff; box-shadow: var(--shadow); }
.stat span, .stat strong, .stat small { display: block; }
.stat span, .stat small { color: var(--muted); }
.stat strong { margin-top: 7px; color: var(--navy); font-size: 29px; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-grid article { padding: 25px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.product-grid article > span { color: var(--red); font-size: 13px; font-weight: 800; }
.product-grid p { margin: 0; color: var(--muted); }
.product-grid a { display: inline-block; margin-top: 14px; color: var(--navy); font-weight: 800; }
.contact-strip { padding: 72px 0; color: #fff; background: var(--navy); }
.contact-strip .section-kicker { color: var(--yellow); }
.contact-strip__inner { display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center; }
.contact-strip p { margin: 8px 0 0; }

.page-hero { padding: 64px 0; color: #fff; background: linear-gradient(110deg, var(--navy-dark), var(--navy)); }
.page-hero .section-kicker { color: var(--yellow); }
.page-hero h1 { max-width: 900px; font-size: clamp(36px, 5.5vw, 62px); }
.page-content { padding: 68px 0 84px; }
.content-shell { max-width: 980px; }
.content-shell > *:first-child { margin-top: 0; }
.content-shell > *:last-child { margin-bottom: 0; }
.content-shell h2 { margin: 42px 0 16px; color: var(--navy); font-size: clamp(25px, 3vw, 34px); }
.content-shell h3 { margin: 30px 0 10px; color: var(--navy-dark); }
.content-shell p, .content-shell li { color: #3e4650; }
.content-shell a { color: var(--navy); text-decoration: underline; }
.content-shell ul, .content-shell ol { padding-left: 24px; }
.content-shell li { margin-bottom: 8px; }
.content-shell .wp-block-table, .content-shell table { width: 100%; }
.content-shell .wp-block-table { overflow-x: auto; margin: 24px 0; border: 1px solid var(--line); border-radius: 6px; }
.content-shell table { min-width: 560px; border-collapse: collapse; }
.content-shell th, .content-shell td { padding: 13px 15px; border: 1px solid var(--line); text-align: left; }
.content-shell th { color: #fff; background: var(--navy); }
.content-shell tbody tr:nth-child(even) { background: var(--soft); }
.content-shell .wp-block-quote { margin: 26px 0; padding: 16px 20px; border-left: 4px solid var(--yellow); background: #fff7ce; }
.content-shell .wp-block-button__link { color: #fff; border-radius: 6px; background: var(--navy); text-decoration: none; }
.news-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.news-card { padding: 25px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.news-card time { color: var(--red); font-size: 13px; font-weight: 800; }
.news-card h2 { margin: 7px 0 10px; font-size: 24px; }
.news-card p { margin-bottom: 0; }
.navigation.pagination { grid-column: 1 / -1; }

.site-footer { padding: 36px 0 18px; color: #ddd9ef; background: #100c2e; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand .brand-logo { width: 66px; height: 66px; object-fit: contain; background: #fff; border-radius: 50%; }
.footer-brand p, .site-footer p { margin: 4px 0; }
.site-footer h2 { margin: 0 0 9px; color: #fff; font-size: 16px; }
.site-footer a { display: block; margin: 5px 0; }
.copyright { margin-top: 28px; padding-top: 16px; display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }
.copyright a { margin: 0; color: #fff; font-weight: 700; }

@media (max-width: 900px) {
  html { scroll-padding-top: 112px; }
  .top-strip { display: none; }
  .brand-row { min-height: 68px; }
  .brand-logo { width: 54px; height: 54px; }
  .menu-toggle { display: block; flex: 0 0 auto; }
  .main-nav { display: none; }
  .main-nav.is-open { display: block; }
  .nav-grid { display: block; padding: 6px 0; }
  .nav-grid a { padding: 10px 4px; border: 0; }
  .nav-grid .sub-menu { display: block; position: static; padding: 0 0 0 18px; background: transparent; box-shadow: none; }
  .nav-grid .sub-menu a { color: #fff; }
  .hero { min-height: min(650px, calc(100vh - 68px)); }
  .hero__shade { background: linear-gradient(90deg, rgba(13,10,43,.88), rgba(23,16,68,.45)); }
  .about-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .wrap { width: min(100% - 24px, 1160px); }
  .brand strong { font-size: 15px; }
  .brand small { font-size: 12px; }
  .hero__content { padding: 55px 0 74px; }
  h1 { font-size: 40px; }
  .hero__location { font-size: 18px; }
  .section { padding: 58px 0; }
  .section-heading--row { display: block; }
  .notice-band__inner { display: block; padding: 13px 0; }
  .notice-band p { margin: 3px 0; }
  .stat-grid, .product-grid, .news-list, .footer-grid { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .contact-strip__inner { grid-template-columns: 1fr; }
  .page-hero { padding: 48px 0; }
  .page-content { padding: 48px 0 64px; }
  .footer-brand { grid-column: auto; }
  .copyright { display: block; }
  .copyright a { margin-top: 7px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
