/*
Theme Name: TiE Indore Native
Theme URI: https://indore.tie.org/
Author: TiE Indore
Description: Lightweight native WordPress theme for TiE Indore public pages.
Version: 2026.05.28.1
Text Domain: tie-indore-native
*/

:root {
  --tie-red: #93001a;
  --tie-red-dark: #5f0011;
  --tie-ink: #171717;
  --tie-muted: #555;
  --tie-line: #e7e7e7;
  --tie-soft: #faf7f7;
  --tie-shell: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body.tie-native-active {
  margin: 0;
  color: var(--tie-ink);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

.tie-native-container {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.tie-native-skip {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 2000;
  background: var(--tie-red);
  color: #fff;
  padding: 10px 14px;
}

.tie-native-skip:focus {
  left: 12px;
}

.tie-native-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

body.admin-bar .tie-native-header {
  top: 32px;
}

.tie-native-header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.tie-native-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 138px;
  text-decoration: none;
}

.tie-native-logo img {
  display: block;
  width: auto;
  height: 44px;
}

.tie-native-logo-text {
  color: var(--tie-red);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.tie-native-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--tie-line);
  background: #fff;
  color: var(--tie-red);
  align-items: center;
  justify-content: center;
  padding: 0;
}

.tie-native-toggle span,
.tie-native-toggle span::before,
.tie-native-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  content: "";
}

.tie-native-toggle span {
  position: relative;
}

.tie-native-toggle span::before,
.tie-native-toggle span::after {
  position: absolute;
  left: 0;
}

.tie-native-toggle span::before {
  top: -7px;
}

.tie-native-toggle span::after {
  top: 7px;
}

.tie-native-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
}

.tie-native-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tie-native-menu li {
  margin: 0;
  padding: 0;
}

.tie-native-menu a {
  display: block;
  color: #1f2937;
  font-size: 13px;
  font-weight: 800;
  line-height: 72px;
  padding: 0 9px;
  text-decoration: none;
  white-space: nowrap;
}

.tie-native-menu .current-menu-item > a,
.tie-native-menu .current_page_item > a,
.tie-native-menu a:hover,
.tie-native-menu a:focus {
  color: var(--tie-red);
}

.tie-native-main {
  min-height: 60vh;
}

.tie-native-page-title {
  min-height: 280px;
  display: flex;
  align-items: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.56)), var(--tie-page-image);
  background-size: cover;
  background-position: center 30%;
  color: #fff;
}

.tie-native-page-title h1 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 38px;
  line-height: 1.15;
}

.tie-native-breadcrumb {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 700;
}

.tie-native-breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.tie-native-content {
  width: 100%;
}

.tie-native-content > .tie-page {
  width: 100%;
}

.tie-native-footer {
  background: #1f1f22;
  color: #ddd;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tie-native-footer-inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0;
}

.tie-native-footer p {
  margin: 0;
  font-size: 14px;
}

.tie-native-footer a {
  color: #fff;
  text-decoration: none;
}

.tie-native-footer-nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 14px;
}

.tie-native-powered {
  display: inline-flex;
  margin-left: 12px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1100px) {
  .tie-native-container {
    width: min(100% - 28px, 1180px);
  }

  .tie-native-menu a {
    font-size: 12px;
    padding: 0 6px;
  }
}

@media (max-width: 767px) {
  body.admin-bar .tie-native-header {
    top: 46px;
  }

  .tie-native-header-inner {
    min-height: 66px;
  }

  .tie-native-logo img {
    height: 40px;
  }

  .tie-native-toggle {
    display: inline-flex;
  }

  .tie-native-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 66px;
    display: none;
    background: #fff;
    border-top: 1px solid var(--tie-line);
    box-shadow: 0 18px 24px rgba(15, 23, 42, 0.12);
  }

  body.tie-native-menu-open .tie-native-nav {
    display: block;
  }

  .tie-native-menu {
    display: grid;
    grid-template-columns: 1fr;
    padding: 8px 14px 14px;
  }

  .tie-native-menu a {
    line-height: 1.2;
    padding: 12px 8px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
  }

  .tie-native-page-title {
    min-height: 220px;
  }

  .tie-native-page-title h1 {
    font-size: 31px;
  }

  .tie-native-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .tie-native-footer-nav {
    justify-content: flex-start;
  }
}

@media (min-width: 1001px) {
  .tie-native-page-title {
    background-position: center 24%;
  }
}

@media (min-width: 1600px) {
  .tie-native-page-title {
    min-height: 340px;
    background-position: center 22%;
  }
}
