/*
  McCarthy Media Group static migration baseline.
  Lean Bootstrap overrides preserving the public Joomla site's visible structure.
*/

:root {
  --mmg-red: #cd0008;
  --mmg-red-dark: #a9070e;
  --mmg-black: #212121;
  --mmg-text: #686868;
  --mmg-heading: #262626;
  --mmg-border: #dedede;
  --mmg-soft: #f2f2f2;
  --mmg-nav-height: 104px;
}

html {
  scroll-padding-top: var(--mmg-nav-height);
}

body {
  color: var(--mmg-text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  padding-top: var(--mmg-nav-height);
  text-rendering: optimizeLegibility;
}

a:not(.btn) {
  color: var(--mmg-red);
  text-decoration: none;
}

a:not(.btn):hover {
  color: var(--mmg-red-dark);
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav-link:focus-visible {
  box-shadow: none;
  outline: 3px solid rgba(205, 0, 8, 0.35);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--mmg-heading);
  line-height: 1.2;
}

h1,
h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  padding: 1em 0 0;
}

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

.site-header {
  border-bottom: 4px solid var(--mmg-red);
  min-height: var(--mmg-nav-height);
}

.navbar {
  min-height: 100px;
}

.navbar-brand img {
  max-width: min(400px, 68vw);
  width: 400px;
}

.navbar-nav {
  font-size: 1.05rem;
  text-align: center;
  text-transform: uppercase;
}

.navbar .nav-link {
  color: #000;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
  background: var(--mmg-red);
  color: #fff;
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 0.6rem 1.2rem;
  }
}

.home-hero {
  background: #000;
}

.home-hero img {
  margin: 0 auto;
  width: 100%;
}

.site-section,
.interior-section,
.list-detail-section {
  padding: 50px 0;
}

.section-title {
  margin-bottom: 30px;
  padding-top: 0;
}

.content-flow > * + * {
  margin-top: 1rem;
}

.home-support-image {
  margin: 100px auto 30px;
}

.featured-list {
  background: #111 url("../images/content/golf-course.jpg") center / cover fixed no-repeat;
  min-height: 400px;
  padding: 50px 0;
}

.featured-list-panel {
  background: rgba(0, 0, 0, 0.75);
}

.featured-list-image {
  margin: 20px auto;
}

.featured-list-copy {
  color: #fff;
  padding: 20px clamp(1.25rem, 4vw, 2rem);
}

.featured-list-copy h2 {
  color: #fff;
  margin: 0 0 10px;
  padding: 0;
}

.featured-list-copy h3 {
  color: #fff;
  font-size: 1.2rem;
  margin: 5px 0 10px;
}

.btn-primary {
  --bs-btn-bg: var(--mmg-red);
  --bs-btn-border-color: var(--mmg-red);
  --bs-btn-hover-bg: var(--mmg-red-dark);
  --bs-btn-hover-border-color: var(--mmg-red);
  --bs-btn-active-bg: var(--mmg-red-dark);
  --bs-btn-active-border-color: var(--mmg-red);
}

.btn-pdf {
  --bs-btn-bg: #f8f9fa;
  --bs-btn-border-color: #d4d4d4;
  --bs-btn-color: #333;
  --bs-btn-hover-bg: var(--mmg-red);
  --bs-btn-hover-border-color: var(--mmg-red);
  --bs-btn-hover-color: #fff;
}

.list-menu {
  display: block;
  font-size: 1.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.list-menu li + li {
  margin-top: 0.35rem;
}

.list-menu a {
  display: inline-block;
  padding: 0.1rem 0;
}

.lists-index h1 {
  margin-bottom: 30px;
  padding-top: 0;
}

.bottom-callout {
  background: #fff;
  text-align: center;
}

.bottom-callout p {
  margin: 0;
  padding: 0 0 24px;
}

.list-banner {
  padding-top: 0;
}

.list-banner img {
  margin: 0 auto 20px;
}

.list-detail h1 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 30px;
  padding-top: 0;
  text-align: center;
}

.list-counts {
  margin-bottom: 30px;
}

.list-counts .table {
  color: var(--mmg-text);
  margin-bottom: 0;
}

.list-counts td {
  border: 0;
  padding: 0.5rem 0.75rem;
}

.list-counts tr:nth-child(odd) td {
  background-color: var(--mmg-soft);
}

.list-counts tr:nth-child(even) td {
  background-color: #fff;
}

.list-counts tr:hover td {
  background: var(--mmg-red);
  color: #fff;
}

.more-info {
  margin-top: 1rem;
  text-align: center;
}

.more-info p {
  margin-bottom: 0;
}

.list-sidebar {
  text-align: center;
}

.list-sidebar:empty {
  display: none;
}

.list-photo {
  margin: 0 auto 30px;
}

.list-facts {
  margin-top: 30px;
}

.list-facts h2 {
  color: var(--mmg-red);
  font-size: 1.4rem;
  margin: 30px 0 10px;
  padding: 0;
}

.contact-form,
.contact-form-shell {
  border: 1px solid var(--mmg-border);
  padding: 1.25rem;
}

.contact-field + .contact-field {
  margin-top: 1rem;
}

.contact-field label {
  color: var(--mmg-heading);
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.contact-field label span {
  color: var(--mmg-red);
}

.contact-status {
  margin-bottom: 1rem;
}

.contact-status:not(:empty) {
  border: 1px solid var(--mmg-border);
  padding: 0.75rem 1rem;
}

.contact-status.is-success {
  background: #f1f8f1;
  border-color: #8fbf8f;
  color: #235423;
}

.contact-status.is-error {
  background: #fff4f4;
  border-color: #d59a9d;
  color: #8b1d23;
}

.field-error {
  color: #8b1d23;
  font-size: 0.925rem;
  margin: 0.35rem 0 0;
  min-height: 1.35em;
}

.contact-form [aria-invalid="true"] {
  border-color: var(--mmg-red);
}

.contact-form .btn {
  margin-top: 1rem;
}

.contact-honeypot {
  left: -10000px;
  position: absolute;
  top: auto;
}

.contact-info {
  font-style: normal;
}

.site-footer {
  background: var(--mmg-black);
  border-top: 4px solid var(--mmg-red);
  color: #fff;
  padding: 10px 0 20px;
}

.site-footer h2 {
  color: #fff;
}

.site-footer a {
  color: #fff;
}

.site-footer a:hover {
  color: #ddd;
}

.footer1 {
  font-size: 1.3rem;
}

.footer1 h2 {
  font-size: inherit;
}

.copyright {
  margin: 30px auto 0;
  text-align: center;
}

.copyright p {
  margin: 0;
}

.skip-link {
  background: #fff;
  border: 2px solid var(--mmg-red);
  color: #000;
  left: 1rem;
  padding: 0.5rem 0.75rem;
  position: absolute;
  top: 1rem;
  transform: translateY(-150%);
  transition: transform 160ms ease;
  z-index: 2000;
}

.skip-link:focus {
  transform: translateY(0);
}

@media (max-width: 991.98px) {
  :root {
    --mmg-nav-height: 94px;
  }

  .navbar {
    min-height: 90px;
  }

  .navbar-collapse {
    padding-bottom: 1rem;
  }

  .home-support-image {
    margin-top: 1rem;
  }

  .featured-list {
    background-attachment: scroll;
  }
}

@media (max-width: 767.98px) {
  body {
    text-align: left;
  }

  .site-footer {
    padding: 10px 0;
    text-align: center;
  }

  .list-menu {
    font-size: 1.05rem;
  }
}
