:root {
  --cassiopeia-color-primary: #40c96e;
  --cassiopeia-color-link: #2cae59;
  --cassiopeia-color-hover: #40c96e;
  --danrida-ink: #10251a;
  --danrida-panel: #16221c;
  --danrida-green: #40c96e;
  --danrida-green-dark: #2cae59;
  --danrida-soft: #f2fdef;
}

body.site {
  background: #f2fdef;
  color: #10251a;
}

.container-header {
  background: linear-gradient(90deg, #10251a 0%, #16221c 58%, #1d3b2a 100%);
  box-shadow: 0 10px 24px rgba(16, 37, 26, .18);
}

.container-header .navbar-brand,
.container-header .site-description,
.container-header .mod-menu > li > a,
.container-header .mod-menu > li > span,
.container-header .mod-menu > li > button,
.container-header .mod-menu .mod-menu__separator {
  color: #ffffff;
}

.container-header .mod-menu {
  gap: .45rem;
  align-items: center;
}

.container-header .mod-menu > li > a,
.container-header .mod-menu > li > span,
.container-header .mod-menu > li > button {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 4px;
  color: #ffffff;
  font-weight: 650;
  letter-spacing: 0;
  padding: .62rem .82rem;
  text-transform: uppercase;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.container-header .mod-menu > li.active > a,
.container-header .mod-menu > li.current > a,
.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li > span:hover,
.container-header .mod-menu > li > button:hover,
.container-header .mod-menu > li > button:focus {
  background: rgba(255, 255, 255, .10);
  border-bottom-color: #40c96e;
  color: #ffffff;
}

.container-header .mod-menu .mm-collapse,
.container-header .mod-menu .mod-menu__sub {
  background: #16221c;
  border: 1px solid rgba(64, 201, 110, .3);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(16, 37, 26, .25);
}

.container-header .mod-menu .mod-menu__sub a {
  color: #ffffff;
}

.container-header .mod-menu .mod-menu__sub a:hover {
  background: rgba(64, 201, 110, .16);
  color: #40c96e;
}

.danrida-language-switcher {
  margin-left: auto;
}

.danrida-language-switcher .mod-languages,
.danrida-language-switcher .mod-languages ul {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin: 0;
}

.danrida-language-switcher a {
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 4px;
  color: #ffffff;
  font-weight: 700;
  min-width: 2.4rem;
  padding: .35rem .6rem;
  text-align: center;
  text-decoration: none;
}

.danrida-language-switcher .lang-active a,
.danrida-language-switcher a:hover {
  background: #40c96e;
  border-color: #40c96e;
  color: #10251a;
}

.btn-primary,
.btn-info {
  background-color: #2cae59;
  border-color: #2cae59;
}

a {
  color: #2cae59;
}

a:hover {
  color: #10251a;
}


.danrida-home {
  color: #10251a;
}

.danrida-home .drd-hero-copy {
  background: linear-gradient(135deg, #f7fff5 0%, #e8f8ec 52%, #ffffff 100%);
  border-left: 4px solid #40c96e;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.danrida-home .drd-kicker,
.danrida-home .drd-eyebrow {
  color: #2cae59;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

.danrida-home h1 {
  color: #10251a;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  margin: .35rem 0 1rem;
}

.danrida-home h2 {
  color: #10251a;
}

.danrida-home .drd-lead {
  font-size: 1.15rem;
  line-height: 1.75;
  max-width: 62rem;
}

.drd-service-strip,
.drd-skill-grid,
.drd-check-list {
  display: grid;
  gap: .75rem;
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

.drd-service-strip {
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  margin: 1.5rem 0 2rem;
}

.drd-service-strip div,
.drd-skill-grid li,
.drd-check-list li {
  background: #ffffff;
  border: 1px solid rgba(44, 174, 89, .18);
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(16, 37, 26, .06);
  padding: .95rem 1rem;
}

.drd-section {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr);
  margin: 2.4rem 0;
}

.drd-section-muted {
  background: #f7fff5;
  padding: 1.5rem;
}

.drd-callout {
  background: #10251a;
  color: #ffffff;
  margin-top: 2.5rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.drd-callout h2 {
  color: #ffffff;
}

@media (max-width: 800px) {
  .drd-section {
    grid-template-columns: 1fr;
  }
}
/* Home readability tuning. */
.site-grid {
  font-size: 1.08rem;
}

.danrida-home {
  font-size: 1.08rem;
}

.danrida-home p,
.danrida-home li {
  line-height: 1.72;
}

.danrida-home .drd-lead {
  font-size: 1.22rem;
  line-height: 1.72;
}

.danrida-home .drd-section-body p {
  margin-bottom: 1rem;
}

/* Danrida home hero image: 2026-07-12 */
body.itemid-102 .container-component,
body.itemid-113 .container-component {
  max-width: none;
  padding-inline: 0;
}

body.itemid-102 .com-content-article,
body.itemid-113 .com-content-article {
  max-width: none;
}

body.itemid-102 figure.item-image,
body.itemid-113 figure.item-image {
  position: relative;
  width: 100vw;
  height: clamp(520px, 52vw, 680px);
  margin: 0 0 0 calc(-50vw + 50%);
  overflow: hidden;
  background: #10251a;
}

body.itemid-102 figure.item-image::after,
body.itemid-113 figure.item-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 24, 17, .76) 0%, rgba(8, 24, 17, .50) 38%, rgba(8, 24, 17, .12) 72%, rgba(8, 24, 17, .04) 100%),
    linear-gradient(0deg, rgba(16, 37, 26, .18), rgba(16, 37, 26, .02));
  pointer-events: none;
}

body.itemid-102 figure.item-image img,
body.itemid-113 figure.item-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.92) contrast(1.05) saturate(1.02);
  transform: scale(1.45);
  transform-origin: 48% 52%;
  transition: transform-origin 24s cubic-bezier(.34, 1.56, .64, 1);
}

body.itemid-102 .com-content-article__body,
body.itemid-113 .com-content-article__body {
  width: min(100% - 2rem, 1180px);
  margin-inline: auto;
}

body.itemid-102 .danrida-home .drd-hero-copy,
body.itemid-113 .danrida-home .drd-hero-copy {
  position: relative;
  z-index: 2;
  width: min(780px, calc(100vw - 2rem));
  margin-top: clamp(-600px, -44vw, -430px);
  margin-bottom: clamp(70px, 10vw, 140px);
  padding: clamp(1.35rem, 3.4vw, 3rem);
  background: rgba(9, 29, 20, .68);
  border: 1px solid rgba(64, 201, 110, .35);
  border-left: 4px solid #40c96e;
  border-radius: 8px;
  box-shadow: 0 24px 58px rgba(8, 24, 17, .28);
  backdrop-filter: blur(5px);
}

body.itemid-102 .danrida-home .drd-hero-copy h1,
body.itemid-113 .danrida-home .drd-hero-copy h1,
body.itemid-102 .danrida-home .drd-hero-copy .drd-lead,
body.itemid-113 .danrida-home .drd-hero-copy .drd-lead {
  color: #ffffff;
}

body.itemid-102 .danrida-home .drd-hero-copy .drd-kicker,
body.itemid-113 .danrida-home .drd-hero-copy .drd-kicker {
  color: #74e394;
}

@media (max-width: 760px) {
  body.itemid-102 figure.item-image,
  body.itemid-113 figure.item-image {
    height: 620px;
  }

  body.itemid-102 .danrida-home .drd-hero-copy,
  body.itemid-113 .danrida-home .drd-hero-copy {
    margin-top: -575px;
    margin-bottom: 2.5rem;
    background: rgba(9, 29, 20, .76);
  }

  body.itemid-102 figure.item-image img,
  body.itemid-113 figure.item-image img {
    transform: scale(1.38);
  }
}

/* Danrida contact page: 2026-07-12 */
.drd-contact {
  width: min(100% - 2rem, 1180px);
  margin: 0 auto;
}

.drd-contact-intro {
  max-width: 820px;
  margin: 1.8rem 0 2rem;
}

.drd-contact-intro h1 {
  margin: .25rem 0 1rem;
  color: #10251a;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.08;
}

.drd-contact-intro p,
.drd-contact-note p {
  font-size: 1.12rem;
  line-height: 1.72;
}

.drd-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.drd-contact-card,
.drd-contact-note {
  background: #fff;
  border: 1px solid rgba(64, 201, 110, .2);
  border-left: 4px solid #40c96e;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(16, 37, 26, .06);
  padding: 1.25rem;
}

.drd-contact-card h2,
.drd-contact-note h2 {
  margin-top: 0;
}

.drd-contact-map {
  margin: 2rem 0;
}

.drd-contact-map img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(16, 37, 26, .12);
}

.drd-contact-map figcaption {
  max-width: 76ch;
  margin: .75rem auto 0;
  color: #50635a;
  font-size: .95rem;
  line-height: 1.55;
  text-align: center;
}

@media (max-width: 760px) {
  .drd-contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Danrida compact service cards: 2026-07-12 */
.drd-service-strip {
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
}

@media (min-width: 1180px) {
  .drd-service-strip {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.drd-service-strip div {
  display: flex;
  min-height: 5.35rem;
  flex-direction: column;
  gap: .32rem;
  justify-content: flex-start;
}

.drd-service-strip strong {
  color: #10251a;
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.25;
}

.drd-service-strip span {
  color: #486253;
  font-size: .82rem;
  line-height: 1.35;
}

/* Danrida top contacts and bottom form: 2026-07-12 */
.container-topbar {
  background: #0d2117;
  border-bottom: 1px solid rgba(116, 227, 148, .18);
}

.drd-top-contacts {
  display: flex;
  width: min(100% - 2rem, 1180px);
  margin: 0 auto;
  justify-content: flex-end;
  gap: 1rem;
  padding: .45rem 0;
  font-size: .92rem;
}

.drd-top-contacts a {
  color: #dff7e6;
  text-decoration: none;
}

.drd-top-contacts a:hover,
.drd-top-contacts a:focus {
  color: #74e394;
}

.container-bottom-a {
  background: #f7fff5;
  margin-top: 2rem;
}

.container-bottom-a .card {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.drd-bottom-contact {
  display: grid;
  width: min(100% - 2rem, 1180px);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) 0;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.drd-bottom-contact h2 {
  margin: .25rem 0 1rem;
  color: #10251a;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.12;
}

.drd-bottom-contact__text p:not(.drd-eyebrow) {
  color: #254032;
  font-size: 1.08rem;
  line-height: 1.68;
}

.drd-bottom-contact__direct {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.25rem;
}

.drd-bottom-contact__direct a {
  color: #10251a;
  border-bottom: 2px solid rgba(64, 201, 110, .45);
  text-decoration: none;
}

.drd-contact-form {
  display: grid;
  gap: .85rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  background: #ffffff;
  border: 1px solid rgba(64, 201, 110, .22);
  border-left: 4px solid #40c96e;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(16, 37, 26, .07);
}

.drd-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
}

.drd-contact-form label {
  display: grid;
  gap: .35rem;
  color: #254032;
  font-weight: 650;
}

.drd-contact-form input,
.drd-contact-form textarea {
  width: 100%;
  border: 1px solid rgba(16, 37, 26, .18);
  border-radius: 6px;
  padding: .72rem .8rem;
  color: #10251a;
  font: inherit;
}

.drd-contact-form input:focus,
.drd-contact-form textarea:focus {
  outline: 2px solid rgba(64, 201, 110, .28);
  border-color: #40c96e;
}

.drd-contact-form .is-invalid {
  border-color: #b42318;
}

.drd-form-website {
  position: absolute;
  left: -9999px;
}

.drd-contact-form button {
  justify-self: start;
  border: 0;
  border-radius: 6px;
  background: #159447;
  color: #ffffff;
  padding: .75rem 1.1rem;
  font-weight: 750;
}

.drd-contact-form button:hover,
.drd-contact-form button:focus {
  background: #10783a;
}

@media (max-width: 800px) {
  .drd-top-contacts {
    justify-content: center;
  }

  .drd-bottom-contact,
  .drd-form-row {
    grid-template-columns: 1fr;
  }
}

/* Danrida footer and captcha: 2026-07-12 */
.drd-captcha-wrap {
  display: grid;
  gap: .4rem;
  color: #254032;
  font-weight: 650;
}

.drd-captcha-wrap.is-invalid {
  border-left: 3px solid #b42318;
  padding-left: .7rem;
}

.container-footer {
  background: #0d2117;
  color: #dff7e6;
  margin-top: 0;
}

.drd-site-footer {
  width: min(100% - 2rem, 1180px);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.4rem) 0 1.35rem;
}

.drd-site-footer__brand {
  display: grid;
  grid-template-columns: minmax(160px, 250px) minmax(0, 1fr);
  gap: 1.4rem;
  align-items: center;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(116, 227, 148, .18);
}

.drd-site-footer__brand img {
  max-width: 240px;
  height: auto;
}

.drd-site-footer__brand p {
  max-width: 680px;
  margin: 0;
  color: #c3dfcc;
  line-height: 1.65;
}

.drd-site-footer__grid {
  display: grid;
  grid-template-columns: 1.25fr 1.2fr 1fr 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  padding: 1.6rem 0;
}

.drd-site-footer h2 {
  margin: 0 0 .8rem;
  color: #74e394;
  font-size: .95rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.drd-site-footer ul {
  display: grid;
  gap: .45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.drd-site-footer li,
.drd-site-footer a {
  color: #dff7e6;
  line-height: 1.45;
  text-decoration: none;
}

.drd-site-footer a:hover,
.drd-site-footer a:focus {
  color: #74e394;
}

.drd-site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .8rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(116, 227, 148, .18);
  color: #a9c9b4;
  font-size: .94rem;
}

@media (max-width: 900px) {
  .drd-site-footer__brand,
  .drd-site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .drd-site-footer__brand,
  .drd-site-footer__grid {
    grid-template-columns: 1fr;
  }
}

/* Danrida inline form messages: 2026-07-12 */
.drd-form-notice {
  border-radius: 6px;
  margin: 0 0 1rem;
  padding: .85rem 1rem;
  font-weight: 700;
  line-height: 1.45;
}

.drd-form-notice--success {
  background: #e8f8ee;
  border: 1px solid rgba(21, 148, 71, .25);
  color: #0d5f2c;
}

.drd-form-notice--warning,
.drd-form-notice--error {
  background: #fff4e5;
  border: 1px solid rgba(180, 35, 24, .22);
  color: #7a271a;
}

/* Danrida hero CTA: 2026-07-12 */
.drd-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  margin-top: 1.35rem;
}

.drd-hero-action {
  display: inline-flex;
  min-height: 2.85rem;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: .72rem 1rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.drd-hero-action-primary {
  background: #40c96e;
  color: #082014;
}

.drd-hero-action-primary:hover,
.drd-hero-action-primary:focus {
  background: #74e394;
  color: #082014;
}

.drd-hero-action-secondary {
  border: 1px solid rgba(116, 227, 148, .52);
  color: #dff7e6;
}

.drd-hero-action-secondary:hover,
.drd-hero-action-secondary:focus {
  border-color: #74e394;
  color: #74e394;
}
