/* Joomla / component integration for dom-invest-premium */

.dip-main .com-content-article,
.dip-main .item-page {
  margin: 0;
  padding: 0;
}

.dip-main .page-header,
.dip-main .article-header,
.dip-main .article-info,
.dip-main .icons,
.dip-main .pager,
.dip-main .article-footer {
  display: none !important;
}

.dip-main .article-body,
.dip-main .com-content-article__body {
  margin: 0;
  padding: 0;
}

/* mod_menu override: flat nav links */
.navlinks .mod-menu,
.navlinks .mod-menu ul,
.navlinks .mod-menu li {
  display: contents;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navlinks .mod-menu a {
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s;
}

.navlinks .mod-menu a:hover,
.navlinks .mod-menu li.current > a,
.navlinks .mod-menu li.active > a {
  color: var(--gold);
}

.dip-nav-cta-mobile {
  display: none;
}

@media (max-width: 900px) {
  .dip-nav-cta-desktop {
    display: none;
  }
  .dip-nav-cta-mobile {
    display: inline-flex;
  }
}

.dip-breadcrumb {
  padding: 100px 0 0;
}

.dip-breadcrumb .mod-breadcrumbs {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5d6373;
}

/* Hero image slot fallback */
.heroslot img,
.workslot img,
.splitimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.heroslot {
  background: #1a2d52 center/cover no-repeat;
}

.workslot {
  background: #d5cdb8 center/cover no-repeat;
}

.splitimg {
  background: #c8bfb0 center/cover no-repeat;
  min-height: 100%;
}

/* Rapid Contact — premium contact form (mod_rapid_contact in .dip-contact-form) */
.dip-contact-form form.contact-form {
  margin: 0;
}

.dip-contact-form form.contact-form > .contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 16px;
  row-gap: 0;
}

.dip-contact-form form.contact-form > .contact-form > .row {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
  margin: 0;
  width: 100%;
}

.dip-contact-form form.contact-form > .contact-form > .row:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

.dip-contact-form form.contact-form > .contact-form > .row:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.dip-contact-form form.contact-form > .contact-form > .row:nth-child(n + 3) {
  grid-column: 1 / -1;
}

.dip-contact-form .row > [class*="col-"] {
  padding: 0;
  width: 100%;
  max-width: 100%;
}

.dip-contact-form .field_group {
  margin-bottom: 18px;
}

.dip-contact-form .form-label {
  display: block;
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 9px;
  color: #0c1a37;
}

.dip-contact-form .form-label span {
  color: var(--gold);
}

.dip-contact-form input[type="text"],
.dip-contact-form input[type="email"],
.dip-contact-form input[type="tel"],
.dip-contact-form input.inputbox,
.dip-contact-form textarea,
.dip-contact-form select {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e0d9c9;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  color: #16203a;
  background: #faf7ef;
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.dip-contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.dip-contact-form input:focus,
.dip-contact-form textarea:focus {
  border-color: var(--gold);
}

.dip-contact-form .field_group.gdpr label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  line-height: 1.55;
  color: #5d6373;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}

.dip-contact-form .field_group.gdpr input[type="checkbox"] {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--gold);
}

.dip-contact-form .field_group.gdpr label > span {
  display: none;
}

.dip-contact-form .field_group.gdpr a {
  color: #0c1a37;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.dip-contact-form .field_group.gdpr a:hover {
  color: var(--gold);
}

.dip-contact-form .field_group.captcha.antispam {
  margin-bottom: 18px;
}

.dip-contact-form .field_group.captcha.antispam .inputbox.antispam {
  max-width: 120px;
}

.dip-contact-form input[type="submit"],
.dip-contact-form .btn.btn-dark,
.dip-contact-form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 15px 30px;
  cursor: pointer;
  border: none;
  background: var(--gold);
  color: #0c1a37;
  width: 100%;
  transition: transform 0.22s, background 0.22s;
  border-radius: 0;
}

.dip-contact-form input[type="submit"]:hover,
.dip-contact-form .btn.btn-dark:hover,
.dip-contact-form button[type="submit"]:hover {
  transform: translateY(-2px);
  background: #c9aa6a;
}

.dip-contact-form .row.mb-4 {
  margin-bottom: 0 !important;
}

@media (max-width: 560px) {
  .dip-contact-form form.contact-form > .contact-form {
    grid-template-columns: 1fr;
  }

  .dip-contact-form form.contact-form > .contact-form > .row:nth-child(1),
  .dip-contact-form form.contact-form > .contact-form > .row:nth-child(2) {
    grid-column: 1;
    grid-row: auto;
  }
}

.menubtn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menubtn.open span:nth-child(2) {
  opacity: 0;
}

.menubtn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.menubtn span {
  transition: 0.3s;
}

body.dip-nav-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .navlinks .mod-menu a {
    font-size: 16px;
  }

  .dip-nav-cta-mobile {
    margin-top: 8px;
    width: 100%;
    justify-content: center;
  }
}
