/*
Theme Name: Avada Child — Klub'en
Description: Klub'en child theme. Sider redigeres i Avada Builder. Vandmærke og klubfarver ligger her.
Author: Klub'en
Template: Avada
Version: 1.3.5
Text Domain: klub-en
*/

:root {
  --kluben-forest: #143d2e;
  --kluben-forest-deep: #0b1f18;
  --kluben-gold: #c6a15b;
  --kluben-cream: #f4efe4;
  --kluben-cream-soft: #f7f3ea;
  --kluben-ink: #1a2a24;
  --kluben-site: 1200px;
}

body.fusion-body,
#wrapper,
#main {
  background-color: var(--kluben-cream) !important;
}

/* Avada's default page template pads #main and boxes the hero in.
   100%-width pages plus this keep sections full-bleed like pvalge.dk. */
#main {
  padding-top: 0 !important;
  padding-right: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 0 !important;
}

/* Kill the 20px whitespace strut Avada's 100% template leaves above the first section. */
#content.full-width {
  padding: 0 !important;
  margin: 0 !important;
  font-size: 0;
  line-height: 0;
}

#content.full-width > * {
  font-size: 16px;
  line-height: 0;
}

#content.full-width .post-content {
  line-height: 1.85;
}

.fusion-fullwidth.kluben-hero {
  margin-top: 0 !important;
}

#main.width-100 {
  margin-top: -22px !important;
}

.fusion-featured-image-wrapper,
.fusion-featured-post-image,
.avada-page-thumbnail {
  display: none !important;
}

body.fusion-body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: var(--kluben-watermark);
  background-repeat: repeat;
  background-size: 320px 320px;
}

#wrapper,
#main,
.fusion-header-wrapper,
.fusion-footer {
  position: relative;
  z-index: 1;
}

/* ---- Header: solid bar, larger logo, fewer larger nav items ---- */
.fusion-header-wrapper,
.fusion-header-wrapper .fusion-header,
.fusion-sticky-header-wrapper,
.fusion-sticky-header-wrapper .fusion-header {
  background: var(--kluben-forest) !important;
  border-bottom: 0;
  box-shadow: none;
}

.fusion-header-wrapper .fusion-header {
  min-height: 132px;
}

.fusion-header-wrapper .fusion-header,
.fusion-header-wrapper .fusion-header-sticky-height,
.fusion-header-wrapper .fusion-header .fusion-row {
  height: 132px !important;
}

.fusion-header .fusion-row {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  box-sizing: border-box;
}

.fusion-main-menu > ul {
  display: flex;
  align-items: center;
}

.fusion-header-wrapper .fusion-logo img,
.fusion-standard-logo,
.fusion-sticky-logo,
.fusion-logo-2x,
.fusion-mobile-logo-1x {
  max-height: 88px !important;
  width: auto !important;
  height: auto !important;
  max-width: 88px !important;
}

.fusion-logo {
  max-width: 96px;
  margin-top: 6px;
  margin-bottom: 6px;
}

.fusion-body .fusion-main-menu > ul > li > a,
.fusion-body .fusion-main-menu .fusion-bar-highlight {
  letter-spacing: 0.08em;
  text-transform: uppercase !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #f4efe4 !important;
  padding-left: 14px !important;
  padding-right: 14px !important;
}

.fusion-main-menu > ul > li:hover > a,
.fusion-main-menu > ul > li.current-menu-item > a,
.fusion-main-menu > ul > li.current-menu-parent > a {
  color: var(--kluben-gold) !important;
}

.fusion-main-menu .sub-menu {
  background: var(--kluben-forest-deep) !important;
  border: 0 !important;
  padding: 8px 0 !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.fusion-main-menu .sub-menu li a {
  color: #f4efe4 !important;
  font-size: 14px !important;
  text-transform: none;
  letter-spacing: 0.02em;
}

.fusion-main-menu .sub-menu li a:hover {
  color: var(--kluben-gold) !important;
  background: transparent !important;
}

/* Last item (Kontakt) as a pill, like pvalge's "Få et tilbud". */
.fusion-main-menu > ul > li.kluben-nav-cta > a,
.fusion-main-menu > ul > li:last-child > a {
  background: var(--kluben-gold) !important;
  color: var(--kluben-forest) !important;
  border-radius: 24px;
  height: 40px !important;
  line-height: 40px !important;
  padding: 0 18px !important;
  margin-left: 8px;
}

.fusion-main-menu > ul > li.kluben-nav-cta:hover > a,
.fusion-main-menu > ul > li:last-child:hover > a {
  background: #d4b36d !important;
  color: var(--kluben-forest) !important;
}

.fusion-mobile-menu-icons,
.fusion-mobile-menu-icons a,
.fusion-mobile-menu-icons a:before {
  color: #f4efe4 !important;
}

/* Gold underline used under section titles (pvalge accent bar). */
.fusion-title h1::after,
.fusion-title h2::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  background: var(--kluben-gold);
  margin: 14px 0 0;
}

.title-heading-center::after,
.kluben-card-title .fusion-title-heading::after,
.kluben-card-title h2::after {
  margin-left: auto;
  margin-right: auto;
}

.kluben-hero-title.fusion-title h1::after,
.kluben-hero .fusion-title h1::after {
  background: var(--kluben-gold);
}

.kluben-hero-kicker {
  color: var(--kluben-gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  margin: 0 0 12px;
}

.kluben-hero-title {
  color: #fff !important;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.kluben-hero-lead {
  color: #f4efe4;
  font-size: 16px;
  line-height: 1.7;
  max-width: 36rem;
  margin: 0 0 22px;
}

/* Overlapping service-style cards sitting on the hero. */
.kluben-lift-card {
  position: relative;
  z-index: 3;
  box-shadow: 0 18px 40px rgba(11, 31, 24, 0.12);
  background: #fff;
}

.kluben-lift-card .kluben-card__img,
.kluben-lift-card img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.kluben-card-body {
  padding: 22px 26px 8px;
  text-align: center;
}

.kluben-card-body p {
  color: #5b675f;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 18px;
}

.kluben-checks {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.kluben-checks li {
  position: relative;
  padding: 0 0 1rem 2rem;
  color: var(--kluben-ink);
  line-height: 1.65;
}

.kluben-checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05rem;
  color: var(--kluben-gold);
  font-weight: 700;
}

.kluben-about-photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Pill buttons — same size as pvalge, klub colors. */
.kluben-cta,
.fusion-button,
.wpcf7 input[type="submit"],
.wpcf7 input.wpcf7-submit,
input.wpcf7-submit {
  display: inline-block;
  background: var(--kluben-forest) !important;
  background-image: none !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 30px;
  padding: 13px 22px;
  cursor: pointer;
  letter-spacing: 0;
  text-transform: none !important;
  font-size: 14px !important;
  font-weight: 600;
  line-height: 1;
  text-decoration: none !important;
  height: auto !important;
}

.kluben-cta:hover,
.fusion-button:hover,
.wpcf7 input[type="submit"]:hover {
  background: #1c5340;
  color: #fff !important;
}

.kluben-cta--gold {
  background: var(--kluben-gold);
  color: var(--kluben-forest) !important;
}

.kluben-cta--gold:hover {
  background: #d4b36d;
  color: var(--kluben-forest) !important;
}

.kluben-cta--small {
  padding: 11px 20px;
}

.kluben-logo-choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.kluben-logo-choices figure {
  margin: 0;
  background: #fff;
  border: 1px solid #e7e0d3;
  padding: 1rem;
  text-align: center;
}

.kluben-logo-choices img {
  max-width: 100%;
  height: auto;
}

.fusion-footer-widget-area,
.fusion-footer-copyright-area {
  background-color: var(--kluben-forest-deep) !important;
  color: #d9d2c4 !important;
}

.fusion-footer-widget-area {
  padding-top: 48px;
  padding-bottom: 28px;
}

.fusion-footer-widget-area .widget-title,
.fusion-footer-widget-area h4 {
  color: #fff !important;
  font-family: "Source Sans Pro", sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.fusion-footer-widget-area a {
  color: #d9d2c4 !important;
}

.fusion-footer-widget-area a:hover {
  color: var(--kluben-gold) !important;
}

.kluben-footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.kluben-footer-list li {
  margin: 0 0 0.45rem;
}

.fusion-copyright-content a[href*="theme-fusion.com"],
.fusion-copyright-content a[href*="avada.com"],
.fusion-footer-copyright-area a[href*="wordpress.org"] {
  display: none !important;
}

.kluben-card-title .fusion-title-heading::after,
.kluben-card-title h3::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  background: var(--kluben-gold);
  margin: 12px auto 0;
}

.fusion-page-title-bar {
  display: none !important;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  border: 1px solid #d7d0c3;
  background: #fff;
  padding: 12px 14px;
  border-radius: 4px;
}

@media (max-width: 800px) {
  .fusion-header-wrapper .fusion-header,
  .fusion-header-wrapper .fusion-header-sticky-height,
  .fusion-header-wrapper .fusion-header .fusion-row {
    height: 88px !important;
    min-height: 88px;
  }

  .fusion-header-wrapper .fusion-logo img,
  .fusion-standard-logo,
  .fusion-sticky-logo,
  .fusion-mobile-logo-1x {
    max-height: 56px !important;
    max-width: 56px !important;
  }

  /* Stack the overlapping cards instead of pulling them up into the hero. */
  .kluben-lift-card {
    margin-top: 0 !important;
  }
}
