/*
Theme Name: TexInvestCo Editable Theme
Theme URI: https://www.texinvestco.com/
Author: TexInvestCo
Description: Custom editable WordPress theme converted from the supplied TexInvestCo website. Includes native content management and a functional contact form.
Version: 1.6.12
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: texinvestco
*/

html { scroll-behavior: smooth; }
.admin-bar nav { top: 32px; }
.tic-generic-page { min-height: 70vh; padding: 140px 24px 80px; background: #050b18; color: #fff; }
.tic-generic-page .si { max-width: 920px; margin: 0 auto; }
.tic-generic-page h1 { font-family: Cinzel, serif; }
.mpanel-links { list-style: none; margin: 0; padding: 0; display: contents; }
.mpanel-links li { display: contents; }
.tic-hp { position:absolute!important; left:-9999px!important; width:1px!important; height:1px!important; overflow:hidden!important; }
@media (max-width: 782px) { .admin-bar nav { top: 46px; } }
.tic-custom-logo,.tic-custom-logo .custom-logo-link{display:flex;align-items:center}.tic-custom-logo img{width:auto;max-height:48px}.fcol .menu-item{list-style:none}.fcol li{display:contents}.mpanel .mpanel-links{width:100%}.mpanel .mpanel-links a{display:block}.nlinks .current-menu-item>a,.nlinks .current_page_item>a{color:#CAA84B}.ferror{outline:none}


/* --------------------------------------------------------------------------
   Card-grid border correction — v1.4.0

   Keep the supplied borderless card treatment even when WordPress or a plugin
   adds generic borders. Desktop retains the subtle gold top hover accent.
   On touch-sized screens the partner cards use only one identical one-pixel
   divider between rows, so no tapped card can leave a different gold line.
   -------------------------------------------------------------------------- */
.pcards,
.caps,
.ecards {
  gap: 1px !important;
  background: var(--gb) !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.pcard,
.cap {
  border: 0 !important;
  border-top: 2px solid transparent !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.pcard:hover,
.pcard:focus-within,
.cap:hover,
.cap:focus-within {
  border: 0 !important;
  border-top: 2px solid var(--gold) !important;
}

.ecard,
.ecard:hover,
.ecard:focus-within {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

/* Prevent inherited link/focus decoration from drawing a box around a card. */
.pcards > *,
.caps > *,
.ecards > * {
  outline-offset: 0 !important;
  box-shadow: none !important;
}

/* Fast Tech 50 capsules: content-width pills with matching geometry. The
   horizontal padding is one pixel tighter than before so the second capsule
   has a little more room from the card's right edge on narrow screens. */
.rgrid > .ritem:first-child .rcases {
  align-items: center;
  gap: 0.28rem;
}
.rgrid > .ritem:first-child .rcase {
  display: inline-flex;
  flex: 0 0 auto;
  width: auto;
  align-items: center;
  justify-content: center;
  padding: 4px 4.75px;
  border-radius: 5px;
  font-size: 0.51rem;
  line-height: 1.3;
  vertical-align: middle;
}

@media (max-width: 720px) {
  /* Approximately 8% less vertical card padding: 1.8rem → 1.65rem.
     Horizontal padding and the section-to-section spacing stay unchanged. */
  .pcards {
    gap: 1px !important;
    background: var(--gb) !important;
  }
  .pcards .pcard,
  .pcards .pcard:hover,
  .pcards .pcard:focus-within {
    padding-block: 1.65rem !important;
    border: 0 !important;
    background: var(--bg-0) !important;
  }
}


/* --------------------------------------------------------------------------
   Our Philosophy mobile refinements — v1.6.0

   Content-specific spacing lives in css/who-we-are.css. The footer tagline
   was removed from footer.php so “Operator · Investor Platform” appears only
   in the site header.
   -------------------------------------------------------------------------- */


/* --------------------------------------------------------------------------
   Mobile menu and sitewide CTA refinements — v1.6.0
   -------------------------------------------------------------------------- */
body.menu-open{overscroll-behavior:none;}


/* --------------------------------------------------------------------------
   Mobile menu spacing and capsule refinement — v1.6.4

   The CTA remains directly below the final menu row, while the tagline and
   location use the remaining panel height and sit above the Samsung/browser
   safe area. Navigation contrast and Fast Tech capsule fit are also refined.
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   Contact and navigation refinements — v1.6.5

   On the homepage, WordPress may classify the custom /#model menu item as
   current immediately. Keep it neutral until the actual model section is in
   view; home.js applies .act based on scroll position. Page menu items retain
   WordPress's normal current-page highlighting.
   -------------------------------------------------------------------------- */
body.home .nlinks a[href*="#model"],
body.home .mpanel-links a[href*="#model"] {
  color: rgba(248,244,234,0.60) !important;
}
body.home .nlinks a[href*="#model"].act,
body.home .mpanel-links a[href*="#model"].act {
  color: var(--gold) !important;
}

