/* Texas IP Law — pixel match texasiplawgroup.com */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

:root {
  --color-primary: #003366;
  --color-primary-hover: #00498e;
  --color-navy: #003366;
  --color-text: #151515;
  --color-heading: #1b1b1b;
  --color-muted: #575757;
  --color-nav: #151515;
  --color-border: #b9b9b9;
  --color-tint: #eff3ff;
  --color-white: #ffffff;
  --container: 1280px;
  --font-body: "Source Sans Pro", arial, sans-serif;
  --font-display: Cinzel, Georgia, serif;
  --font-hero: "League Spartan", arial, helvetica, sans-serif;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 { line-height: 1.25; margin-top: 0; }
p { margin-top: 0; margin-bottom: 1rem; }
a { color: var(--color-primary); }
a:hover { color: var(--color-primary-hover); }

.container {
  width: min(100% - 96px, var(--container));
  margin-inline: auto;
}
.container--inset {
  width: min(100% - 168px, 1112px);
  margin-inline: auto;
}

.section { padding: 40px 0; }
.section--tint { background: var(--color-tint); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 32px);
  font-weight: 400;
  color: var(--color-heading);
  text-align: center;
  margin: 0 0 24px;
  line-height: 1.2;
}
.section-title--left {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.125em;
  color: var(--color-navy);
}
.reach-out .section-title {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 400;
  text-align: center;
  text-transform: none;
  letter-spacing: 0.023em;
  color: var(--color-heading);
  margin-bottom: 32px;
}

.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;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--color-navy);
  color: var(--color-white);
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 8px 32px;
  border: none;
  border-radius: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.214em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s;
}
.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
}
.btn--primary:hover {
  background: var(--color-primary-hover);
  color: var(--color-white);
}
.btn--cookie {
  width: 100%;
  background: var(--color-white);
  color: var(--color-navy);
  font-weight: 700;
  letter-spacing: 0.136em;
}

/* Top bar */
.site-topbar {
  background: var(--color-primary);
  color: var(--color-white);
  text-align: center;
  font-size: 16px;
  letter-spacing: 0.125em;
  text-transform: uppercase;
  font-weight: 400;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-topbar__inner { padding: 4px 40px; width: 100%; }
.site-topbar p { margin: 0; line-height: 1.5; }
.site-topbar__line { display: inline; }
@media (max-width: 900px) {
  .site-topbar__line--break::before {
    content: "\A";
    white-space: pre;
  }
}
.site-header--live {
  background: var(--color-tint);
  padding: 24px 0 0;
}
.site-header__shell {
  text-align: center;
}
.site-header__side { display: none; }
.site-header__center {
  width: 100%;
  min-width: 0;
  text-align: center;
  position: relative;
}
.site-branding {
  display: flex;
  justify-content: center;
}
.site-branding .custom-logo {
  max-height: 72px;
  width: auto;
  margin: 0 auto;
}
.site-title {
  display: inline-block;
  margin: 0 0 19px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.031em;
  line-height: 1;
}
.site-title a {
  color: var(--color-text);
  text-decoration: none;
}
.site-title a:hover { color: var(--color-text); }

.nav-toggle {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  flex-direction: column;
  gap: 5px;
  padding: 8px 16px;
  background: none;
  border: 1px solid var(--color-text);
  cursor: pointer;
}
.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
}

.site-nav { margin-top: 0; }
.nav-menu {
  list-style: none;
  margin: 0 auto;
  padding: 0 0 20px;
  display: block;
  width: fit-content;
  max-width: 100%;
  font-size: 0;
}
.nav-menu--live li {
  display: inline-block;
}
.nav-menu--live li:not(:first-child) {
  padding-left: 32px;
}
.nav-menu--live a {
  display: block;
  padding: 6px;
  margin: -6px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.214em;
  text-transform: uppercase;
  color: var(--color-nav);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
.nav-menu--live a:hover {
  color: var(--color-nav);
  border-bottom-color: var(--color-navy);
}
.nav-menu--live .current-menu-item > a,
.nav-menu--live .current_page_item > a {
  color: var(--color-nav);
  font-weight: 400;
  padding: 0 0 4px;
  margin: 0 0 -5px;
  border-bottom-color: var(--color-navy);
}

/* Hero */
.hero--live {
  padding: 47px 0 0;
  text-align: center;
  background: var(--color-tint);
}
.hero__intro {
  max-width: 704px;
  margin: 0 auto;
  padding: 0 0 100px;
}
.hero__title {
  font-family: var(--font-hero);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 0.125em;
  margin: 0 0 40px;
}
.hero__banner-wrap {
  padding: 0;
}
.hero__banner {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Feature blocks — live GoDaddy 532px image + 580px text column */
.features { background: var(--color-white); }
.feature-block {
  padding: 40px 0;
}
.feature-block__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  width: min(100% - 120px, 1160px);
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}
.feature-block--reverse .feature-block__inner {
  flex-direction: row-reverse;
}
.feature-block__media {
  flex: 0 0 532px;
  width: 532px;
  max-width: 100%;
}
.feature-block__body {
  flex: 0 0 532px;
  width: 532px;
  max-width: 100%;
  padding: 0;
  box-sizing: border-box;
  text-align: center;
}
.feature-block__media img {
  display: block;
  width: 100%;
  max-width: 532px;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}
.feature-block__title {
  font-family: var(--font-hero);
  font-size: 32px;
  font-weight: 400;
  margin: 0 auto 24px;
  letter-spacing: 0.023em;
  color: var(--color-heading);
  max-width: 317px;
  text-align: center;
}
.feature-block--reverse .feature-block__title {
  max-width: 393px;
}
.feature-block__text {
  font-size: 20px;
  line-height: 1.5;
  margin: 0;
  text-align: left;
  color: rgb(87, 87, 87);
}
.feature-block__text strong {
  font-weight: 400;
  color: rgb(87, 87, 87);
}

/* About — live homepage: label + circular photo rows */
.about-home {
  background: var(--color-white);
}
.about-home__shell {
  width: min(100% - 120px, 1160px);
  margin: 0 auto;
  padding: 40px 24px 0;
  box-sizing: border-box;
}
.about-home__label {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.125em;
  color: var(--color-navy);
  margin: 0 0 32px;
  text-align: left;
  line-height: 1.375;
}
.about-home__row {
  padding: 0 0 48px;
}
.about-home__row:last-child {
  padding-bottom: 160px;
}
.about-home__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  width: min(100% - 120px, 1160px);
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}
.about-home__row--reverse .about-home__inner {
  flex-direction: row-reverse;
  align-items: flex-start;
}
.about-home__media {
  flex: 0 0 532px;
  width: 532px;
  max-width: 100%;
}
.about-home__media img {
  display: block;
  width: 100%;
  max-width: 532px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
}
.about-home__content {
  flex: 0 0 532px;
  width: 532px;
  max-width: 100%;
  text-align: center;
}
.about-home__title {
  font-family: var(--font-body);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-heading);
  margin: 0 auto 32px;
  max-width: 100%;
  text-align: center;
}
.about-home__text {
  font-size: 20px;
  line-height: 1.5;
  margin: 0 0 30px;
  text-align: left;
  color: rgb(87, 87, 87);
}
.about-home__text:last-child {
  margin-bottom: 0;
}

/* Reach Out Today */
.reach-out {
  padding: 58px 0 62px;
  text-align: center;
}
.reach-out__email {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  margin: 0 0 24px;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 0.031em;
}
.reach-out__email a {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.reach-out__phone {
  font-size: 20px;
  font-weight: 400;
  margin: 0;
  color: rgb(94, 94, 94);
}
.reach-out__phone a {
  color: rgb(94, 94, 94);
  text-decoration: none;
}
.reach-out__phone strong {
  font-weight: 700;
  color: rgb(94, 94, 94);
}

/* PatentGram */
.patentgram {
  padding: 40px 0;
  background: var(--color-white);
}
.patentgram__shell {
  width: min(100% - 120px, 1160px);
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}
.patentgram .section-title--left {
  margin: 0 0 32px;
}
.patentgram__link {
  margin: 0;
  text-align: center;
  font-size: 16px;
}
.patentgram__link a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-navy);
  text-decoration: none;
  letter-spacing: 0.023em;
}
.patentgram__chevron {
  font-size: 1.25rem;
  line-height: 1;
}

/* Blog carousel */
.home-blog--banner {
  position: relative;
  min-height: 506px;
  background: var(--color-navy);
  background-image: linear-gradient(rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.24)),
    url("../images/blog-banner-live.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.home-blog__overlay {
  min-height: 506px;
  padding: 40px 0;
}
.home-blog__shell {
  width: min(100% - 120px, 1160px);
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}
.home-blog__title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  color: var(--color-white);
  text-align: center;
  margin: 0 0 56px;
  letter-spacing: 0.031em;
}
.home-blog__carousel {
  position: relative;
}
.home-blog__viewport {
  overflow: hidden;
}
.home-blog__track {
  display: flex;
  gap: 0;
  transition: transform 0.35s ease;
}
.home-blog__card {
  flex: 0 0 270px;
  width: 270px;
  height: 330px;
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  text-decoration: none;
  color: inherit;
}
.home-blog__card-media {
  height: 140px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.home-blog__card-body {
  flex: 1;
  padding: 24px 16px 20px;
  display: flex;
  flex-direction: column;
}
.home-blog__card-date {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.25;
  color: rgb(89, 89, 89);
}
.home-blog__card-title {
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-heading);
}
.home-blog__card-more {
  margin-top: auto;
  font-size: 16px;
  line-height: 1.25;
  color: var(--color-navy);
}
.home-blog__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: none;
  color: var(--color-white);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.home-blog__nav--prev { left: -28px; }
.home-blog__nav--next { right: -28px; }
.home-blog__nav:hover { opacity: 0.85; }

/* Footer */
.site-footer--live {
  background: var(--color-white);
  color: var(--color-text);
  padding: 40px 0 56px;
  text-align: center;
}
.site-footer__inner { max-width: none; }
.site-footer__brand {
  max-width: 640px;
  margin: 0 auto;
}
.site-footer__social { margin: 0 0 16px; }
.site-footer__instagram {
  display: inline-flex;
  text-decoration: none;
}
.site-footer__instagram:hover { opacity: 0.85; }
.icon-instagram { display: block; }
.icon-instagram--footer {
  width: 40px;
  height: 40px;
}
.site-footer__name {
  font-family: var(--font-body);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: 0.083em;
  text-transform: uppercase;
  margin: 0 0 8px;
  color: var(--color-heading);
}
.site-footer__phone {
  margin: 0 0 24px;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  letter-spacing: 0.083em;
  text-transform: uppercase;
}
.site-footer__phone a {
  color: var(--color-navy);
  text-decoration: none;
  font-weight: 400;
}
.site-footer__copy {
  margin: 8px 0 0;
  font-size: 12px;
  letter-spacing: 0.083em;
  text-transform: uppercase;
  color: rgb(89, 89, 89);
  text-align: left;
}

/* Contact forms */
.contact-form {
  max-width: 725px;
  margin: 0 auto;
  text-align: left;
}
.contact-form label { font-weight: 400; color: var(--color-heading); }
.contact-form p {
  position: relative;
  margin: 0 0 42px;
}
.contact-form label {
  position: absolute;
  top: 16px;
  left: 8px;
  z-index: 1;
  font-size: 16px;
  line-height: 1;
  color: rgb(94, 94, 94);
  pointer-events: none;
  transition: top 0.15s ease, font-size 0.15s ease, color 0.15s ease;
}
.contact-form p.is-active label {
  top: 8px;
  font-size: 12px;
  color: var(--color-primary);
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  font-size: 16px;
  background: transparent;
  border-radius: 0;
  transition: box-shadow 0.15s ease;
}
.contact-form input[type="text"],
.contact-form input[type="email"] {
  height: 52px;
  padding: 23px 8px 8px;
  border: none;
  border-bottom: 1px solid rgb(226, 226, 226);
}
.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
  outline: none;
  box-shadow: rgb(94, 94, 94) 0 0 0 1px inset;
}
.contact-form textarea {
  min-height: 146px;
  padding: 16px 8px;
  border: 1px solid rgb(226, 226, 226);
  border-radius: 3px;
}
.contact-form textarea::placeholder {
  color: rgb(94, 94, 94);
  opacity: 1;
}
.contact-form .field-error {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  line-height: 1.4;
  color: rgb(239, 0, 0);
}
.contact-form .field-error[hidden] {
  display: none;
}
.contact-form .btn {
  width: 100%;
  margin-top: 8px;
}

.form-notice {
  max-width: 725px;
  margin: 0 auto 24px;
  padding: 16px 20px;
  border-radius: 4px;
  font-size: 15px;
  line-height: 1.5;
}
.form-notice--success {
  background: #eaf5ec;
  border: 1px solid #bfe3c6;
  color: #1e5c2c;
}
.form-notice--error {
  background: #fbebeb;
  border: 1px solid #f0bcbc;
  color: #a32020;
}

.site-footer__email {
  margin: 0 0 24px;
  font-size: 16px;
}
.site-footer__email a {
  color: var(--color-text);
  text-decoration: none;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 10003;
  width: min(360px, calc(100vw - 48px));
  background: var(--color-primary);
  color: var(--color-white);
  padding: 24px;
  box-shadow: 0 3px 6px 3px rgba(0, 0, 0, 0.16);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__title {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 400;
  color: var(--color-white);
  margin: 0 0 12px;
}
.cookie-banner__text {
  font-size: 14px;
  line-height: 1.4;
  margin: 0 0 16px;
}

/* Inner pages */
.page-content { padding: 40px 0 56px; }
.page-content--inner {
  padding: 40px 36px 56px;
}
.page-about-us__intro {
  padding: 40px 0 0;
  width: min(100% - 168px, 1112px);
  margin: 0 auto;
}
.page-content--fees {
  padding-bottom: 0;
}
.page-content--fees.page-content--inner {
  padding-bottom: 0;
}
.page-content--about {
  padding-bottom: 24px;
}
.page-column {
  max-width: 725px;
  margin: 0 auto;
}

.entry__title {
  text-align: center;
  font-family: var(--font-hero);
  font-size: clamp(28px, 4vw, 40px);
  text-transform: uppercase;
  letter-spacing: 0.125em;
  color: var(--color-navy);
  margin-bottom: 24px;
}
.entry__title.entry__title--label {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-navy);
  text-align: left;
  line-height: 1.375;
  margin: 0 0 32px;
}
.entry__title.entry__title--fees {
  font-family: "Bitter", Georgia, serif;
}
.entry__title.entry__title--consult {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.062em;
  text-transform: uppercase;
  color: var(--color-heading);
  text-align: left;
  line-height: 1.25;
  margin: 0 0 24px;
}

.page-fees-services__intro {
  padding: 40px 0 0;
}
.page-fees-body__inner {
  display: grid;
  grid-template-columns: 339px minmax(0, 1fr);
  column-gap: 48px;
  align-items: start;
  width: min(100% - 168px, 1112px);
  margin: 0 auto;
  padding: 0 0 56px;
}
.page-fees-body__media img {
  width: 339px;
  height: 339px;
  object-fit: cover;
}
.page-fees-body__content {
  min-width: 0;
}
.fees-cta {
  background: var(--color-white);
  padding: 48px 0 64px;
  text-align: center;
}
.fees-cta__inner {
  max-width: 820px;
}
.fees-cta__title {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.062em;
  text-transform: uppercase;
  color: var(--color-heading);
  margin: 0 0 24px;
}
.fees-cta__text {
  font-size: 20px;
  line-height: 1.5;
  color: var(--color-text);
  margin: 0 auto 32px;
  max-width: 780px;
}
.btn--fees-cta {
  background: var(--color-primary);
  color: var(--color-white);
  min-height: 51px;
  padding: 8px 40px;
  font-weight: 400;
  letter-spacing: 0.136em;
}
.btn--fees-cta:hover {
  background: var(--color-primary-hover);
  color: var(--color-white);
}

.page-content--contact .entry__content > p:not(.contact-recaptcha),
.page-content--free-consultation .entry__content > p:not(.contact-recaptcha) {
  display: none;
}
.page-content--contact .entry__content h4,
.page-content--free-consultation .entry__content h4 {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 16px;
  color: var(--color-heading);
}
.page-content--contact .contact-recaptcha,
.page-content--free-consultation .contact-recaptcha {
  font-size: 12px;
  color: rgb(89, 89, 89);
}

.team-blocks { background: var(--color-white); }
.page-contact__intro,
.page-free-consultation .page-column {
  padding-top: 40px;
}
.page-content--about { padding-bottom: 0; }
.team-block {
  padding: 0 0 48px;
}
.team-block:first-child {
  padding-top: 0;
}
.team-block .feature-block__inner {
  align-items: start;
  width: min(100% - 168px, 1112px);
  grid-template-columns: 532px 532px;
  column-gap: 48px;
  padding: 0;
}
.team-block:not(.feature-block--reverse) .feature-block__media {
  grid-column: 1;
}
.team-block:not(.feature-block--reverse) .feature-block__body {
  grid-column: 2;
}
.team-block.feature-block--reverse .feature-block__media {
  order: 2;
  grid-column: 2;
}
.team-block.feature-block--reverse .feature-block__body {
  order: 1;
  grid-column: 1;
}
.team-block__media img {
  width: 532px;
  max-width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0;
}
.team-block--wide-photo .team-block__media img {
  aspect-ratio: 2 / 1;
  height: 266px;
}
.team-block__body h2,
.team-block__body h4 {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 16px;
  color: var(--color-heading);
}
.feature-block__body--left {
  text-align: left;
}
.feature-block__body--left h2,
.feature-block__body--left h4 {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 400;
  margin: 0 0 16px;
  color: var(--color-heading);
}

.connect-with-us__social { margin: 0; }
.connect-with-us__instagram {
  display: inline-flex;
  color: var(--color-navy);
  text-decoration: none;
}
.connect-with-us__instagram:hover { color: var(--color-primary-hover); }

.entry__content--fees h2,
.entry__content--fees h4,
.entry__content h2,
.entry__content h4 {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 400;
  margin-top: 32px;
  margin-bottom: 16px;
  color: var(--color-heading);
}
.entry__content--fees h2:first-child,
.entry__content--fees h4:first-child {
  margin-top: 0;
}
.entry__content h2, .entry__content h3 {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 400;
  margin-top: 32px;
  margin-bottom: 16px;
}
.contact-recaptcha {
  font-size: 12px;
  color: rgb(89, 89, 89);
  margin-top: 16px;
}

/* Blog archive */
.archive-header { margin-bottom: 32px; text-align: center; }
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.post-card { border: 1px solid rgba(185, 185, 185, 0.5); }

/* Forms */
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid var(--color-border);
  border-radius: 0;
  font: inherit;
}

/* WordPress admin bar shifts layout vs live site */
body.admin-bar .site-topbar {
  margin-top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .site-topbar { margin-top: 46px; }
}

/* Mobile */
@media (max-width: 900px) {
  .site-topbar__inner {
    padding: 4px 24px;
  }
  .site-topbar p {
    max-width: none;
    margin: 0 auto;
  }
  .site-header--live {
    padding: 35px 0 0;
  }
  .site-header__shell.container {
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .site-header__side { display: none; }
  .site-header__center {
    display: grid;
    grid-template-columns: 38px 1fr 38px;
    grid-template-areas: "toggle brand spare";
    align-items: center;
    padding: 0 16px;
  }
  .nav-toggle {
    display: flex;
    grid-area: toggle;
    position: static;
    justify-self: start;
    border: none;
    padding: 8px 0;
  }
  .site-branding {
    grid-area: brand;
    justify-content: center;
    width: auto;
  }
  .site-title {
    font-size: 18px;
    margin: 0;
  }
  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(100%, 360px);
    padding: 72px 24px 24px;
    background: var(--color-white);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
    z-index: 10002;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  }
  body.nav-open .site-nav { transform: translateX(0); }
  body.nav-open { overflow: hidden; }
  .nav-menu {
    width: 100%;
    margin: 0;
    font-size: 16px;
  }
  .nav-menu--live li {
    display: block;
    padding-left: 0;
  }
  .nav-menu--live a {
    margin: 0;
    padding: 16px 0;
    border-bottom: 1px solid rgba(185, 185, 185, 0.5);
    white-space: normal;
  }
  .nav-menu--live .current-menu-item > a,
  .nav-menu--live .current_page_item > a {
    margin: 0;
  }
  .feature-block__inner,
  .about-home__inner {
    flex-direction: column;
    width: 100%;
    padding: 0 24px 40px;
  }
  .page-fees-body__inner {
    grid-template-columns: 1fr;
    width: 100%;
    padding: 0 24px 40px;
  }
  .page-fees-body__media img {
    width: 100%;
    max-width: 339px;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    display: block;
  }
  .about-home__row--reverse .about-home__inner {
    flex-direction: column;
  }
  .about-home__media,
  .about-home__content {
    flex: 1 1 auto;
    width: 100%;
  }
  .about-home__media img {
    max-width: 339px;
    margin: 0 auto;
  }
  .about-home__shell {
    width: 100%;
    padding: 24px 24px 0;
  }
  .about-home__row:last-child {
    padding-bottom: 40px;
  }
  .home-blog__shell,
  .patentgram__shell {
    width: 100%;
    padding: 0 24px;
  }
  .home-blog__nav--prev { left: 0; }
  .home-blog__nav--next { right: 0; }
  .home-blog__card {
    flex-basis: min(270px, 100%);
    width: min(270px, 100%);
  }
  .page-fees-body__media img {
    width: 100%;
    max-width: 339px;
    height: auto;
    aspect-ratio: 1;
  }
  .fees-cta {
    padding: 40px 0 48px;
  }
  .fees-cta__text {
    font-size: 18px;
  }
  .page-content--inner {
    padding: 40px 24px 24px;
  }
  .about-home__shell {
    padding-top: 24px;
  }
  .feature-block__media img {
    max-width: 100%;
  }
  .feature-block--reverse .feature-block__media,
  .feature-block--reverse .feature-block__body { order: unset; }
  .feature-block__media { order: -1; }
  .hero--live {
    padding-top: 100px;
  }
  .hero__intro {
    max-width: none;
    padding: 0 24px 42px;
  }
  .hero__title {
    font-size: 36px;
    max-width: 220px;
    margin: 0 auto 0;
  }
  .hero__banner {
    background-position: 50% 28%;
  }
  .hero__banner-wrap {
    width: min(100% - 48px, var(--container));
    margin-inline: auto;
  }
  .cookie-banner { right: 0; bottom: 0; width: 100%; }
  .site-footer__copy { text-align: center; }
}

@media (max-width: 480px) {
  .container { width: min(100% - 32px, var(--container)); }
  .nav-menu--live a { padding-left: 0; padding-right: 0; }
}

/* Texas IP Law Help page */
.ip-law-help-banner {
  position: relative;
  background-color: var(--color-navy);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.ip-law-help-banner__overlay {
  background: linear-gradient(90deg, rgba(0, 20, 40, 0.92) 0%, rgba(0, 20, 40, 0.82) 55%, rgba(0, 20, 40, 0.62) 100%);
  padding: 96px 0;
}
.ip-law-help-banner__inner {
  max-width: 640px;
  text-align: left;
}
.ip-law-help-banner__title {
  color: var(--color-white);
  text-align: left;
  margin-bottom: 20px;
}
.ip-law-help-banner__intro {
  color: var(--color-white);
  font-size: 18px;
  line-height: 1.6;
}
.ip-law-help-banner__intro p:last-child { margin-bottom: 0; }

.ip-law-help-update__video-wrap {
  width: min(100%, 840px);
  margin: 0 auto 32px;
  aspect-ratio: 16 / 9;
  background: #000;
}
.ip-law-help-update__video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.ip-law-help-update__meta {
  width: min(100%, 840px);
  margin: 0 auto;
  text-align: center;
}
.ip-law-help-update__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--color-heading);
  margin: 0 0 4px;
}
.ip-law-help-update__date {
  color: var(--color-muted);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.ip-law-help-update__notes {
  text-align: left;
  color: var(--color-text);
}
.ip-law-help-update__empty {
  text-align: center;
  color: var(--color-muted);
  font-size: 18px;
  padding: 24px 0;
}

@media (max-width: 900px) {
  .ip-law-help-banner__overlay {
    padding: 48px 0;
    background: linear-gradient(180deg, rgba(0, 20, 40, 0.82) 0%, rgba(0, 20, 40, 0.7) 100%);
  }
  .ip-law-help-banner__inner {
    max-width: none;
  }
  .ip-law-help-banner__intro {
    font-size: 16px;
  }
}

.ip-law-help-banner__steps {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  line-height: 1.55;
}
.ip-law-help-banner__steps li {
  margin: 0 0 6px;
  padding-left: 1.1em;
  position: relative;
}
.ip-law-help-banner__steps li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-white);
}

.ip-law-help-step-badge {
  display: inline-block;
  margin: 0 0 8px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-white);
  background: var(--color-primary);
  border-radius: 3px;
}
.ip-law-help-step-badge--chat {
  margin-bottom: 12px;
}

.ip-law-help-flow-guide {
  background: var(--color-tint);
  padding-top: 40px;
  padding-bottom: 40px;
}
.ip-law-help-flow-guide__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  counter-reset: flow;
}
.ip-law-help-flow-guide__item {
  position: relative;
  background: var(--color-white);
  border: 1px solid rgba(185, 185, 185, 0.45);
  border-radius: 4px;
  padding: 16px 14px 14px;
  text-align: center;
}
.ip-law-help-flow-guide__item::after {
  content: "→";
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-primary);
  font-size: 18px;
  font-weight: 700;
}
.ip-law-help-flow-guide__item:last-child::after {
  content: none;
}
.ip-law-help-flow-guide__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-white);
  font-weight: 700;
  font-size: 15px;
}
.ip-law-help-flow-guide__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  color: var(--color-navy);
}
.ip-law-help-flow-guide__item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--color-muted);
}
.ip-law-help-flow-guide__ref {
  margin: 24px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--color-muted);
}

@media (max-width: 960px) {
  .ip-law-help-flow-guide__list {
    grid-template-columns: 1fr;
  }
  .ip-law-help-flow-guide__item::after {
    content: "↓";
    right: auto;
    left: 50%;
    top: auto;
    bottom: -14px;
    transform: translateX(-50%);
  }
}

.ip-law-help-main {
  background: var(--color-white);
}

.ip-law-help-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.35fr);
  gap: 40px;
  align-items: start;
}

.ip-law-help-form-block .contact-form {
  margin: 0;
  max-width: none;
}

.ip-law-help-form__lead {
  margin: 0 0 28px;
  color: var(--color-text);
  line-height: 1.6;
}

.ip-law-help-form .ip-law-help-form__row--static label {
  position: static;
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  color: var(--color-heading);
  pointer-events: auto;
}

.ip-law-help-form .ip-law-help-form__row--static {
  margin-bottom: 28px;
}

.ip-law-help-form select {
  width: 100%;
  height: 52px;
  padding: 8px 12px;
  font-size: 16px;
  border: 1px solid rgb(226, 226, 226);
  border-radius: 3px;
  background: var(--color-white);
}

.ip-law-help-form input[type="tel"] {
  width: 100%;
  height: 52px;
  padding: 23px 8px 8px;
  font-size: 16px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgb(226, 226, 226);
}

.ip-law-help-form input[type="tel"]:focus {
  outline: none;
  box-shadow: rgb(94, 94, 94) 0 0 0 1px inset;
}

.ip-law-help-form__disclaimer {
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-muted);
  margin-bottom: 24px !important;
}

.ip-law-help-chat {
  border: 1px solid rgba(185, 185, 185, 0.5);
  border-radius: 6px;
  background: #f7f9fb;
  box-shadow: 0 8px 28px rgba(0, 51, 102, 0.08);
  overflow: hidden;
  min-height: 520px;
  display: flex;
  flex-direction: column;
}

.ip-law-help-chat__header {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  background: var(--color-navy);
  color: var(--color-white);
}

.ip-law-help-chat__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.ip-law-help-chat__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--color-white);
}

.ip-law-help-chat__status {
  margin: 4px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ip-law-help-chat__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5cd65c;
  flex-shrink: 0;
}

.ip-law-help-chat__demo-label {
  margin: 0;
  padding: 10px 16px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--color-navy);
  background: rgba(0, 86, 150, 0.1);
  border-bottom: 1px solid rgba(185, 185, 185, 0.35);
}

.ip-law-help-chat__demo-label[hidden] {
  display: none;
}

.ip-law-help-chat__messages {
  flex: 1;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 420px;
  overflow-y: auto;
  background: linear-gradient(180deg, #eef3f8 0%, #f7f9fb 100%);
}

.ip-law-help-chat__bubble {
  max-width: 92%;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-text);
}

.ip-law-help-chat__bubble p {
  margin: 0;
}

.ip-law-help-chat__bubble-body p {
  margin: 0 0 10px;
}

.ip-law-help-chat__bubble-body p:last-child {
  margin-bottom: 0;
}

.ip-law-help-chat__bubble-label {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.ip-law-help-chat__bubble--user {
  align-self: flex-end;
  background: var(--color-white);
  border: 1px solid rgba(0, 51, 102, 0.15);
  border-bottom-right-radius: 2px;
}

.ip-law-help-chat__bubble--ai {
  align-self: flex-start;
  background: var(--color-white);
  border-left: 4px solid var(--color-primary);
  border-bottom-left-radius: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ip-law-help-chat__typing {
  padding: 8px 16px;
  font-size: 13px;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ip-law-help-chat__typing[hidden] {
  display: none !important;
}

.ip-law-help-chat__typing-dots::after {
  content: "…";
  animation: ip-law-help-dots 1.2s steps(4, end) infinite;
}

@keyframes ip-law-help-dots {
  0%, 20% { content: "."; }
  40% { content: ".."; }
  60%, 100% { content: "..."; }
}

.ip-law-help-chat__composer {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  padding: 14px 16px;
  border-top: 1px solid rgba(185, 185, 185, 0.45);
  background: var(--color-white);
}

.ip-law-help-chat__composer textarea {
  flex: 1;
  min-height: 52px;
  max-height: 120px;
  padding: 12px;
  font-size: 15px;
  border: 1px solid rgb(226, 226, 226);
  border-radius: 4px;
  resize: vertical;
}

.ip-law-help-chat__composer textarea:disabled {
  background: #f3f3f3;
  color: var(--color-muted);
}

.ip-law-help-chat__send {
  width: auto;
  min-width: 96px;
  flex-shrink: 0;
  margin: 0;
}

.ip-law-help-chat__disclaimer {
  margin: 0;
  padding: 12px 16px 16px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-muted);
  background: var(--color-white);
  border-top: 1px solid rgba(185, 185, 185, 0.25);
}

.ip-law-help-weekly {
  background: var(--color-white);
}

.ip-law-help-weekly__lead {
  text-align: center;
  color: var(--color-muted);
  margin: -8px auto 32px;
  max-width: 640px;
}

.ip-law-help-cta-band__inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.ip-law-help-cta-band__inner p {
  margin-bottom: 24px;
  color: var(--color-text);
  line-height: 1.6;
}

@media (max-width: 960px) {
  .ip-law-help-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ip-law-help-chat {
    min-height: 480px;
  }
  .ip-law-help-chat__messages {
    max-height: 360px;
  }
}

/* Homepage video (client-uploaded) */
.home-video {
  background: var(--color-white);
  text-align: center;
}
.home-video__wrap {
  width: min(100%, 840px);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000;
}
.home-video__player {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

@media (max-width: 480px) {
  .home-video__wrap {
    width: 100%;
  }
}

/* ============================================================
   ENHANCED BLOG POST STYLES
   ============================================================ */

/* Blog post single page container */
.entry--single {
  max-width: 840px;
  margin: 0 auto;
}

.entry__header {
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--color-border);
}

.entry__title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 16px;
  color: var(--color-heading);
}

.entry__meta {
  font-size: 15px;
  color: var(--color-muted);
  margin: 0;
}

.entry__thumbnail {
  margin: 0 0 32px;
  border-radius: 4px;
  overflow: hidden;
}

.entry__thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

/* Content styling */
.entry__content {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text);
}

.entry__content > h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.3;
  margin: 48px 0 20px;
  color: var(--color-heading);
  padding-top: 8px;
  border-top: 2px solid var(--color-border);
}

.entry__content > h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.entry__content > h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.4;
  margin: 32px 0 16px;
  color: var(--color-heading);
}

.entry__content > p {
  margin: 0 0 20px;
}

.entry__content > p:last-child {
  margin-bottom: 0;
}

/* List styling */
.entry__content ul,
.entry__content ol {
  margin: 20px 0;
  padding-left: 28px;
}

.entry__content ul {
  list-style-type: disc;
}

.entry__content ol {
  list-style-type: decimal;
}

.entry__content li {
  margin-bottom: 12px;
  line-height: 1.7;
}

.entry__content li:last-child {
  margin-bottom: 0;
}

.entry__content li > ul,
.entry__content li > ol {
  margin-top: 12px;
  margin-bottom: 0;
}

.entry__content ul li::marker {
  color: var(--color-primary);
}

.entry__content ol li::marker {
  color: var(--color-primary);
  font-weight: 500;
}

/* Strong and emphasis */
.entry__content strong {
  font-weight: 600;
  color: var(--color-heading);
}

.entry__content em {
  font-style: italic;
  color: var(--color-text);
}

/* Links within content */
.entry__content a {
  color: var(--color-primary);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.entry__content a:hover {
  color: var(--color-accent);
}

/* Blockquotes */
.entry__content blockquote {
  margin: 32px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--color-primary);
  background: rgba(0, 66, 117, 0.05);
  font-style: italic;
}

.entry__content blockquote p:last-child {
  margin-bottom: 0;
}

.entry__footer--post {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.entry__related {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
}

.entry__related a {
  color: var(--color-primary);
  text-decoration: underline;
}

.entry__related a:hover {
  color: var(--color-accent);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .entry__title {
    font-size: 28px;
  }

  .entry__content > h2 {
    font-size: 24px;
    margin: 32px 0 16px;
  }

  .entry__content > h3 {
    font-size: 20px;
  }

  .entry__content {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .entry__title {
    font-size: 24px;
  }

  .entry__content > h2 {
    font-size: 22px;
  }

  .entry__content > h3 {
    font-size: 18px;
  }
}
