/* Anja Schuck — Legal Translation & Interpretation homepage preview */

/* Keep sticky header always above scrolling page content */
#header {
  position: relative !important;
  z-index: 100000 !important;
  isolation: isolate;
}
#header .header_inner,
#header .header_wrap,
#header .navi_scrolled,
#header .navi_scrolled_resize {
  z-index: 100000 !important;
}
#header .header_inner {
  background: #fffdf9 !important;
  opacity: 1 !important;
}
#middle,
#middle_content,
.anja-new-home,
.anja-final,
.anja-clean-page {
  position: relative;
  z-index: 1;
}
:root {
  --anja-ink: #172631;
  --anja-ink-2: #253945;
  --anja-ivory: #f6f3ed;
  --anja-paper: #fffdf9;
  --anja-gold: #b39162;
  --anja-gold-dark: #80633d;
  --anja-line: rgba(23, 38, 49, 0.14);
  --anja-muted: #66737b;
}

.home #top { display: none !important; }
.home .content_wrap.fullwidth {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: var(--anja-paper);
}
.home #middle { background: var(--anja-paper); }
.home #middle_content { padding: 0 !important; }
#header {
  background: rgba(255, 253, 249, 0.97) !important;
  border-bottom: 1px solid var(--anja-line);
  box-shadow: 0 8px 28px rgba(23, 38, 49, 0.06);
}
.header_inner,
.header_wrap { background: transparent !important; }
.logo_wrap .logo img { display: none !important; }
.logo_wrap .logo {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  text-decoration: none !important;
  min-width: 245px;
  line-height: 1;
}
.logo_wrap .logo:before {
  content: "ANJA SCHUCK";
  display: block;
  color: var(--anja-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: .055em;
}
.logo_wrap .logo:after {
  content: "LEGAL TRANSLATION · INTERPRETATION";
  display: block;
  color: var(--anja-gold-dark);
  font-family: "Open Sans", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .17em;
  white-space: nowrap;
  margin-top: 7px;
}
#navigation > li > a { color: var(--anja-ink) !important; }
#navigation > li > a:hover,
#navigation > li.current-menu-item > a { color: var(--anja-gold-dark) !important; }
.header_wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
}
.logo_wrap { float: none !important; }
#header nav {
  float: none !important;
  margin-left: auto;
}
.anja-preview-navigation {
  display: flex;
  align-items: center;
  gap: 2px;
}
.anja-preview-navigation > li { float: none !important; }
.anja-preview-navigation > li > a {
  display: flex !important;
  align-items: center;
  height: 46px;
  padding: 0 10px !important;
  font-size: 15px !important;
  font-weight: 700;
  line-height: 46px !important;
  letter-spacing: .015em;
  text-transform: none;
  border: 0 !important;
  box-shadow: none !important;
  white-space: nowrap;
}
.anja-preview-navigation .anja-menu-contact > a {
  margin-left: 0;
  padding: 0 10px !important;
  height: 46px;
  line-height: 46px !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--anja-ink) !important;
}
#navigation > li.current-menu-item:before,
#navigation > li.current-menu-parent:before,
#navigation > li.current-menu-ancestor:before {
  display: none !important;
  content: none !important;
  border: 0 !important;
}
.anja-preview-navigation .anja-lang-item {
  flex: 0 0 auto;
}
.anja-preview-navigation .anja-lang-item > a {
  padding: 0 5px !important;
  font-size: 11px !important;
  letter-spacing: .07em;
  color: var(--anja-muted) !important;
}
.anja-preview-navigation .anja-lang-item:first-of-type > a { margin-left: 4px; }
.anja-preview-navigation .anja-lang-item.current-menu-item > a { color: var(--anja-gold-dark) !important; }

.anja-new-home,
.anja-new-home * { box-sizing: border-box; }
.anja-new-home {
  color: var(--anja-ink);
  background: var(--anja-paper);
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
.anja-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.anja-eyebrow { margin: 0 0 20px; font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.anja-hero { position: relative; overflow: hidden; min-height: 690px; background: var(--anja-ink); }
.anja-hero__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.anja-hero__media:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 31, 41, .95) 0%, rgba(14, 31, 41, .84) 43%, rgba(14, 31, 41, .42) 74%, rgba(14, 31, 41, .22) 100%);
}
.anja-hero__media:after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
}
.anja-photo-credit {
  position: absolute;
  right: 16px;
  bottom: 12px;
  z-index: 1;
  color: rgba(255,255,255,.55);
  font-size: 9px;
  letter-spacing: .03em;
}
.anja-hero__inner { position: relative; z-index: 2; padding: 96px 0 82px; }
.anja-hero__copy { max-width: 770px; }
.anja-hero .anja-eyebrow { color: #dec8a8; }
.anja-hero h1 {
  margin: 0;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(58px, 7vw, 91px);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.035em;
}
.anja-hero__lead { max-width: 700px; margin: 28px 0 0; color: rgba(255,255,255,.78); font-size: 18px; line-height: 1.7; }
.anja-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.anja-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; text-decoration: none !important; text-transform: uppercase; letter-spacing: .06em; font-size: 11px; font-weight: 800; }
.anja-btn--gold { background: var(--anja-gold); color: #fff !important; border: 1px solid var(--anja-gold); }
.anja-btn--ghost { color: #fff !important; border: 1px solid rgba(255,255,255,.34); }
.anja-credentials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 58px; border-top: 1px solid rgba(255,255,255,.18); }
.anja-credential { padding: 19px 28px 0 0; color: rgba(255,255,255,.64); font-size: 12px; line-height: 1.55; }
.anja-credential strong { display: block; margin-bottom: 4px; color: #fff; font-family: "Playfair Display", Georgia, serif; font-size: 18px; font-weight: 700; }
.anja-intro, .anja-services, .anja-profile, .anja-clients { padding: 64px 0; }
.anja-languages { padding: 54px 0 30px; }
.anja-final { padding: 30px 0 56px; }
.anja-intro { background: var(--anja-paper); }
.anja-intro__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.anja-intro h2, .anja-section-head h2, .anja-profile h2, .anja-final h2 { margin: 0; color: var(--anja-ink); font-family: "Playfair Display", Georgia, serif; font-weight: 700; line-height: 1.08; }
.anja-intro h2 { font-size: clamp(35px, 4vw, 52px); }
.anja-intro p { margin: 0 0 18px; color: var(--anja-muted); }
.anja-services { background: var(--anja-ivory); }
.anja-section-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; margin-bottom: 28px; }
.anja-section-head h2 { font-size: clamp(34px, 4vw, 50px); }
.anja-section-head p { margin: 0; color: var(--anja-muted); }
.anja-service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--anja-line); border: 1px solid var(--anja-line); }
.anja-service { min-height: 310px; padding: 32px 28px; background: var(--anja-paper); }
.anja-service__num { margin-bottom: 52px; color: var(--anja-gold-dark); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.anja-service h3 { margin: 0 0 14px; color: var(--anja-ink); font-family: "Playfair Display", Georgia, serif; font-size: 24px; line-height: 1.2; }
.anja-service p { margin: 0; color: var(--anja-muted); font-size: 14px; line-height: 1.65; }
.anja-profile { background: var(--anja-paper); }
.anja-profile__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 66px; align-items: stretch; }
.anja-profile__media,
.anja-profile__photo { position: relative; min-height: 520px; overflow: hidden; background: var(--anja-ivory); }
.anja-profile__media img,
.anja-profile__photo img { display: block; width: 100%; height: 100%; min-height: 520px; object-fit: cover; object-position: center; filter: grayscale(1); }
.anja-profile-credit { position: absolute; right: 10px; bottom: 8px; padding: 3px 6px; background: rgba(0,0,0,.52); color: rgba(255,255,255,.82); font-size: 8px; line-height: 1.2; letter-spacing: .02em; }
.anja-profile__copy { display: flex; flex-direction: column; justify-content: center; }
.anja-profile h2 { font-size: clamp(36px, 4.6vw, 60px); }
.anja-profile p { color: var(--anja-muted); }
.anja-quote { margin: 24px 0; padding: 22px 0 22px 26px; border-left: 2px solid var(--anja-gold); color: var(--anja-ink) !important; font-family: "Playfair Display", Georgia, serif; font-size: 22px; line-height: 1.45; }
.anja-text-link { color: var(--anja-gold-dark) !important; text-transform: uppercase; letter-spacing: .07em; font-size: 11px; font-weight: 800; text-decoration: none !important; }
.anja-clients { background: var(--anja-ivory); }
.anja-logo-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--anja-line); border: 1px solid var(--anja-line); }
.anja-logo { display: flex; align-items: center; justify-content: center; min-height: 104px; padding: 18px; background: var(--anja-paper); }
.anja-logo img { max-width: 100%; max-height: 48px; filter: grayscale(1); opacity: .72; }
.anja-languages { background: var(--anja-paper); }
.anja-language-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--anja-line); }
.anja-language { padding: 34px; border-right: 1px solid var(--anja-line); }
.anja-language:last-child { border-right: 0; }
.anja-language span { display: block; margin-bottom: 8px; color: var(--anja-gold-dark); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.anja-language strong { display: block; color: var(--anja-ink); font-family: "Playfair Display", Georgia, serif; font-size: 25px; }
.anja-final { padding: 44px 0 72px; background: var(--anja-paper); }
.anja-final__box { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; border: 1px solid var(--anja-line); padding: 54px 58px; }
.anja-final h2 { font-size: clamp(31px, 3.4vw, 46px); margin-bottom: 12px; }
.anja-final p { color: var(--anja-muted); margin: 0; }
.anja-final__action { text-align: right; }

@media (max-width: 1020px) {
  .anja-service-grid { grid-template-columns: repeat(2, 1fr); }
  .anja-logo-grid { grid-template-columns: repeat(3, 1fr); }
  .anja-profile__grid, .anja-intro__grid, .anja-section-head { gap: 44px; }
}

@media (max-width: 760px) {
  .header_wrap {
    min-height: 74px;
    flex-wrap: wrap;
    padding: 0 15px;
  }
  .logo_wrap { max-width: calc(100% - 54px); }
  .logo_wrap .logo { min-width: 0; width: auto; }
  .responsive_nav {
    display: block !important;
    position: absolute;
    right: 15px;
    top: 19px;
    width: 38px;
    height: 38px;
    border: 1px solid var(--anja-line);
    background: var(--anja-paper);
  }
  .responsive_nav span,
  .responsive_nav span:before,
  .responsive_nav span:after { background: var(--anja-ink) !important; }
  #header nav { width: 100% !important; margin: 0 !important; padding: 0 !important; }
  .anja-preview-navigation {
    display: none;
    width: 100%;
    padding: 8px 0 16px;
    border-top: 1px solid var(--anja-line);
    background: var(--anja-paper);
  }
  .anja-preview-navigation > li {
    display: block !important;
    width: 100% !important;
    border-bottom: 1px solid rgba(23,38,49,.08);
  }
  .anja-preview-navigation > li > a,
  .anja-preview-navigation .anja-menu-contact > a,
  .anja-preview-navigation .anja-lang-item > a {
    display: block !important;
    width: 100%;
    margin: 0 !important;
    padding: 13px 4px !important;
    border: 0 !important;
    font-size: 13px !important;
    text-align: left;
  }
  .anja-preview-navigation .anja-lang-item { display: inline-block !important; width: auto !important; border: 0; }
  .anja-preview-navigation .anja-lang-item > a { width: auto !important; padding: 12px 8px 6px !important; font-size: 10px !important; }
  .logo_wrap .logo { min-width: 190px; }
  .logo_wrap .logo:before { font-size: 20px; }
  .logo_wrap .logo:after { font-size: 7px; letter-spacing: .11em; }
  .anja-shell { width: min(100% - 30px, 1180px); }
  .anja-hero { min-height: 650px; }
  .anja-hero__inner { padding: 76px 0 58px; }
  .anja-hero h1 { font-size: clamp(47px, 13vw, 66px); }
  .anja-credentials { grid-template-columns: 1fr; margin-top: 40px; }
  .anja-credential { border-bottom: 1px solid rgba(255,255,255,.16); padding: 14px 0; }
  .anja-intro, .anja-services, .anja-profile, .anja-clients, .anja-languages, .anja-final { padding: 48px 0; }
  .anja-intro__grid, .anja-section-head, .anja-profile__grid, .anja-final__box { grid-template-columns: 1fr; gap: 30px; }
  .anja-service-grid { grid-template-columns: 1fr; }
  .anja-service { min-height: 0; }
  .anja-service__num { margin-bottom: 24px; }
  .anja-logo-grid { grid-template-columns: repeat(2, 1fr); }
  .anja-language-grid { grid-template-columns: 1fr; }
  .anja-language { border-right: none; border-bottom: 1px solid var(--anja-line); }
  .anja-language:last-child { border-bottom: none; }
  .anja-final__box { padding: 34px 28px; }
  .anja-final__action { text-align: left; }
}

/* Refined inner pages */
body:not(.home) #middle { background: var(--anja-paper) !important; }
body:not(.home) .headline { background: var(--anja-ink) !important; background-image: none !important; border: 0 !important; }
body:not(.home) .headline .headline_inner {
  width: min(1180px, calc(100% - 48px)) !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 52px 0 42px !important;
}
body:not(.home) .headline h1,
body:not(.home) .headline .heading_title {
  color: #fff !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: clamp(34px, 4vw, 52px) !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  letter-spacing: -.02em !important;
}
body:not(.home) .headline .heading_subtitle { color: rgba(255,255,255,.7) !important; font-family: "Open Sans", sans-serif !important; }
body:not(.home) .content_wrap {
  width: min(1180px, calc(100% - 48px)) !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 68px 0 84px !important;
  background: transparent !important;
}
body:not(.home) .content_wrap.fullwidth,
body:not(.home) #middle_content,
body:not(.home) #content { width: 100% !important; max-width: none !important; float: none !important; }
body:not(.home) .entry { color: var(--anja-ink); font-family: "Open Sans", sans-serif; font-size: 16px; line-height: 1.75; }
body:not(.home) .entry h2,
body:not(.home) .entry h3,
body:not(.home) .entry h4 { color: var(--anja-ink) !important; font-family: "Playfair Display", Georgia, serif !important; font-weight: 700 !important; line-height: 1.2 !important; }
body:not(.home) .entry h2 { font-size: clamp(30px, 3.4vw, 44px) !important; }
body:not(.home) .entry h3 { font-size: 27px !important; }
body:not(.home) .entry p,
body:not(.home) .entry li { color: #4f5d65; }
body:not(.home) .entry a { color: var(--anja-gold-dark) !important; }
body:not(.home) .entry .more_button,
body:not(.home) .entry .button,
body:not(.home) .entry .button_large,
body:not(.home) .entry input[type="submit"] { background: var(--anja-gold) !important; color: #fff !important; border: 1px solid var(--anja-gold) !important; box-shadow: none !important; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
body:not(.home) .entry img { max-width: 100%; height: auto; }
body:not(.home) .breadcrumbs,
body:not(.home) .breadcrumbs a { color: rgba(255,255,255,.7) !important; }
body:not(.home) .cmsms_breadcrumbs { display: none !important; }

@media (max-width: 760px) {
  body:not(.home) .headline .headline_inner,
  body:not(.home) .content_wrap { width: min(100% - 30px, 1180px) !important; }
  body:not(.home) .headline .headline_inner { padding: 38px 0 32px !important; }
  body:not(.home) .content_wrap { padding: 48px 0 64px !important; }
}

/* About page */
.page-id-6028 .cmsms_cc { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 58px; align-items: start; }
.page-id-6028 .cmsms_cc > .one_third,
.page-id-6028 .cmsms_cc > .two_third { width: auto !important; float: none !important; margin: 0 !important; padding: 0 !important; }
.page-id-6028 .cmsms_cc > .one_third { display: flex; flex-direction: column; gap: 38px; }
.page-id-6028 .cmsms_cc > .one_third br { display: none !important; }
.page-id-6028 .cmsms_cc > .one_third img { display: block; width: 100% !important; height: auto !important; margin: 0 !important; }
.page-id-6028 .cmsms_cc > .two_third > div[data-folder="text"] { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--anja-line); }
.page-id-6028 .cmsms_cc > .two_third > div[data-folder="text"]:last-child { border-bottom: 0; margin-bottom: 0; }
.page-id-6028 .cmsms_cc > .two_third p:first-child strong,
.page-id-6028 .cmsms_cc > .two_third p:first-child b { color: var(--anja-ink); font-family: "Playfair Display", Georgia, serif; font-size: 24px; line-height: 1.3; }
@media (max-width: 760px) {
  .page-id-6028 .cmsms_cc { grid-template-columns: 1fr; gap: 34px; }
  .page-id-6028 .cmsms_cc > .one_third { max-width: 360px; }
}

/* Key service pages */
.page-id-6032 .cmsms_cc,
.page-id-6038 .cmsms_cc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 58px 54px; align-items: stretch; }
.page-id-6032 .cmsms_cc > .one_half,
.page-id-6038 .cmsms_cc > .one_half { width: auto !important; float: none !important; margin: 0 !important; padding: 0 !important; min-width: 0; }
.page-id-6032 .cmsms_cc img,
.page-id-6038 .cmsms_cc img { display: block; width: 100% !important; height: 100% !important; min-height: 100%; margin: 0 !important; object-fit: cover; }
.page-id-6032 .cmsms_cc strong,
.page-id-6038 .cmsms_cc strong { color: var(--anja-ink); font-family: "Playfair Display", Georgia, serif; font-size: 24px; line-height: 1.3; }
.page-id-6041 #sidebar { display: none !important; }
.page-id-6041 #content { width: 100% !important; float: none !important; }
.page-id-6041 .content_wrap.r_sidebar { display: block !important; }
.page-id-6041 .wpcf7 { max-width: 820px; margin: 0 auto; }
@media (max-width: 760px) {
  .page-id-6032 .cmsms_cc,
  .page-id-6038 .cmsms_cc { grid-template-columns: 1fr; gap: 30px; }
  .page-id-6032 .cmsms_cc img,
  .page-id-6038 .cmsms_cc img { height: auto !important; min-height: 0; }
}

/* Forms and legacy content refinement */
body:not(.home) .wpcf7 { max-width: 820px; }
body:not(.home) .wpcf7-form p { margin: 0 0 22px; color: var(--anja-ink); font-weight: 600; }
body:not(.home) .wpcf7-form input[type="text"],
body:not(.home) .wpcf7-form input[type="email"],
body:not(.home) .wpcf7-form input[type="tel"],
body:not(.home) .wpcf7-form input[type="file"],
body:not(.home) .wpcf7-form textarea {
  width: 100% !important;
  box-sizing: border-box;
  margin-top: 8px;
  padding: 14px 15px !important;
  border: 1px solid var(--anja-line) !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: var(--anja-ink) !important;
  font-family: "Open Sans", sans-serif !important;
  font-size: 15px !important;
  box-shadow: none !important;
}
body:not(.home) .wpcf7-form textarea { min-height: 180px; resize: vertical; }
body:not(.home) .wpcf7-form input:focus,
body:not(.home) .wpcf7-form textarea:focus { border-color: var(--anja-gold) !important; outline: none; }
body:not(.home) .wpcf7-submit { min-height: 50px; padding: 0 26px !important; cursor: pointer; }
body:not(.home) .wpcf7-response-output { margin: 24px 0 0 !important; padding: 14px 16px !important; border: 1px solid var(--anja-line) !important; }
body:not(.home) .entry .one_half,
body:not(.home) .entry .one_third,
body:not(.home) .entry .two_third { box-sizing: border-box; }
body:not(.home) .entry img.alignleft { margin: 0 32px 24px 0; }
@media (max-width: 760px) { body:not(.home) .entry img.alignleft { float: none !important; margin: 0 0 24px !important; } }

/* Refined site footer */
#footer { background: #13232d !important; color: rgba(255,255,255,.76) !important; border-top: 1px solid rgba(255,255,255,.08); }
#footer .footer_outer_wrap,
#footer .footer_outer,
#footer .footer_inner { background: transparent !important; }
#footer .footer_inner {
  width: min(1180px, calc(100% - 48px)) !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 58px 0 24px !important;
}
#footer .social_icons { display: none !important; }
.anja-footer-grid { display: grid; grid-template-columns: 1.5fr .75fr .75fr; gap: 60px; align-items: start; }
.anja-footer-name { color: #fff; font-family: "Playfair Display", Georgia, serif; font-size: 27px; font-weight: 700; letter-spacing: .055em; line-height: 1.1; }
.anja-footer-tagline { color: #d6bb96; font-size: 9px; font-weight: 700; letter-spacing: .17em; margin-top: 8px; }
.anja-footer-brand p { max-width: 510px; margin: 24px 0 0; color: rgba(255,255,255,.62); font-size: 14px; line-height: 1.7; }
.anja-footer-contact,
.anja-footer-links { display: flex; flex-direction: column; gap: 9px; font-size: 13px; }
.anja-footer-contact strong,
.anja-footer-links strong { color: #fff; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 7px; }
#footer .anja-footer-contact a,
#footer .anja-footer-links a { color: rgba(255,255,255,.74) !important; text-decoration: none !important; }
#footer .anja-footer-contact a:hover,
#footer .anja-footer-links a:hover { color: #d6bb96 !important; }
.anja-footer-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.44); font-size: 11px; letter-spacing: .04em; }
@media (max-width: 760px) {
  #footer .footer_inner { width: min(100% - 30px, 1180px) !important; padding-top: 44px !important; }
  .anja-footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .anja-footer-bottom { margin-top: 32px; }
}

/* Full-width site shell + unified inner content width */
#page.cmsms_boxed,
.cmsms_boxed {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  box-shadow: none !important;
}
html,
body,
#page,
#page > .container,
.container,
.custom_header,
.header_inner,
#header,
#middle,
#footer,
.footer_outer_wrap,
.footer_outer {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box;
}
#page > .container {
  min-width: 100% !important;
}
.header_wrap,
.custom_header_inner,
body:not(.home) .content_wrap,
body:not(.home) .headline .headline_inner,
.anja-shell,
#footer .footer_inner,
.anja-clean-stack {
  width: min(1180px, calc(100% - 48px)) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}
.page-id-6041 .wpcf7 { width: 100% !important; max-width: 900px !important; }
@media (max-width: 760px) {
  .header_wrap,
  .custom_header_inner,
  body:not(.home) .content_wrap,
  body:not(.home) .headline .headline_inner,
  .anja-shell,
  #footer .footer_inner,
  .anja-clean-stack { width: min(100% - 30px, 1180px) !important; }
}

/* Remove legacy black bottom contact/widget area on all pages */
#bottom,
.bottom_inner,
.bottom_ininner,
.middle_sidebar,
.middle_sidebar_inner,
.middle_sidebar_in_inner {
  display: none !important;
}

/* About page: keep portrait photos sharp */
.page-id-6028 .anja-clean-row {
  grid-template-columns: 360px minmax(0, 1fr);
  align-items: start;
}
.page-id-6028 .anja-clean-row--reverse {
  grid-template-columns: minmax(0, 1fr) 360px;
}
.page-id-6028 .anja-clean-media--portrait {
  min-height: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: var(--anja-ivory);
}
.page-id-6028 .anja-clean-media--portrait img {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  object-fit: contain;
  object-position: center top;
}
.page-id-6028 .anja-clean-media--portrait img[src*="Loredana-Gatt.jpg"] {
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
}
@media (max-width: 760px) {
  .page-id-6028 .anja-clean-row,
  .page-id-6028 .anja-clean-row--reverse { grid-template-columns: 1fr; }
  .page-id-6028 .anja-clean-media--portrait img[src*="Loredana-Gatt.jpg"] {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
  }
}

/* Clean replacement layouts for key German pages */
.anja-clean-page,
.anja-clean-page * { box-sizing: border-box; }
.anja-clean-page { width: 100%; max-width: 100%; margin: 0; padding: 0; overflow: hidden; }
.anja-clean-stack { width: min(1180px, calc(100% - 48px)); max-width: 1180px; margin: 0 auto; display: flex; flex-direction: column; gap: 56px; }
.anja-clean-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; align-items: stretch; width: 100%; max-width: 100%; margin: 0; border: 1px solid var(--anja-line); background: #fff; }
.anja-clean-media,
.anja-clean-copy { min-width: 0; width: 100%; margin: 0; }
.anja-clean-media { overflow: hidden; min-height: 100%; background: var(--anja-ivory); }
.anja-clean-media img { display: block; width: 100% !important; height: 100% !important; min-height: 100%; margin: 0 !important; object-fit: cover; object-position: center; }
.anja-clean-media--portrait img { object-position: center top; }
.anja-clean-copy { padding: 44px 46px; align-self: stretch; overflow-wrap: anywhere; word-break: normal; }
.anja-clean-copy h2 { margin: 0 0 22px !important; font-size: clamp(30px, 3.2vw, 45px) !important; line-height: 1.08 !important; }
.anja-clean-copy p { margin: 0 0 17px !important; max-width: 100%; }
.anja-kicker { color: var(--anja-gold-dark) !important; font-size: 11px !important; font-weight: 800 !important; letter-spacing: .16em; text-transform: uppercase; }
.anja-inline-cta { display: inline-block; margin-top: 6px; color: var(--anja-gold-dark) !important; text-transform: uppercase; letter-spacing: .06em; font-size: 11px; font-weight: 800; text-decoration: none !important; }
@media (max-width: 760px) {
  .anja-clean-stack { width: min(100% - 30px, 1180px); gap: 30px; }
  .anja-clean-row { grid-template-columns: 1fr; }
  .anja-clean-row--reverse .anja-clean-copy { order: 2; }
  .anja-clean-row--reverse .anja-clean-media { order: 1; }
  .anja-clean-media { min-height: 280px; }
  .anja-clean-media img { height: 280px !important; min-height: 0; }
  .anja-clean-copy { padding: 30px 26px; }
}

/* German privacy page */
.anja-privacy-page { overflow: visible; }
.anja-privacy-page .anja-clean-stack { width: min(1180px, calc(100% - 48px)); max-width: 1180px; }
.anja-privacy-card {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 54px 60px;
  border: 1px solid var(--anja-line);
  background: #fff;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: normal;
}
.anja-privacy-card h2 { margin: 0 0 34px !important; font-size: clamp(34px, 4vw, 52px) !important; }
.anja-privacy-card h3 { margin: 34px 0 12px !important; font-size: 24px !important; }
.anja-privacy-card p,
.anja-privacy-card li { max-width: 100%; color: #4f5d65; line-height: 1.75; }
.anja-privacy-card ul,
.anja-privacy-card ol { padding-left: 22px; margin-left: 0; }
.anja-privacy-card a { overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .anja-privacy-page .anja-clean-stack { width: min(100% - 30px, 1180px); }
  .anja-privacy-card { padding: 34px 26px; }
}

/* Multilingual about pages: same portrait geometry as German */
.page-id-781 .anja-clean-row,
.page-id-6068 .anja-clean-row { grid-template-columns: 360px minmax(0, 1fr); align-items: start; }
.page-id-781 .anja-clean-row--reverse,
.page-id-6068 .anja-clean-row--reverse { grid-template-columns: minmax(0, 1fr) 360px; }
.page-id-781 .anja-clean-media--portrait,
.page-id-6068 .anja-clean-media--portrait { min-height: 0; display: flex; align-items: flex-start; justify-content: center; background: var(--anja-ivory); }
.page-id-781 .anja-clean-media--portrait img,
.page-id-6068 .anja-clean-media--portrait img { width: 100% !important; max-width: none !important; height: auto !important; min-height: 0 !important; object-fit: contain; object-position: center top; }

/* Multilingual contact pages */
.anja-contact-card { width: 100%; max-width: 920px; margin: 0 auto; padding: 48px 54px; border: 1px solid var(--anja-line); background: #fff; box-sizing: border-box; }
.anja-contact-card h2 { margin: 0 0 18px !important; font-size: clamp(32px, 3.5vw, 48px) !important; line-height: 1.08 !important; }
.anja-contact-intro { max-width: 720px; margin: 0 0 34px !important; color: var(--anja-muted); }
.page-id-84 #sidebar,
.page-id-6075 #sidebar { display: none !important; }
.page-id-84 #content,
.page-id-6075 #content { width: 100% !important; float: none !important; }
.page-id-84 .wpcf7,
.page-id-6075 .wpcf7 { width: 100% !important; max-width: none !important; margin: 0 !important; }
@media (max-width: 760px) {
  .page-id-781 .anja-clean-row,
  .page-id-781 .anja-clean-row--reverse,
  .page-id-6068 .anja-clean-row,
  .page-id-6068 .anja-clean-row--reverse { grid-template-columns: 1fr; }
  .anja-contact-card { padding: 32px 26px; }
}

.anja-hero-line { white-space: nowrap; }
