﻿

html {
  font-size: 16px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}


@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
}
@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-Medium.ttf') format('truetype');
    font-weight: 500;
}
@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600;
}
@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-ExtraBold.ttf') format('truetype');
    font-weight: 800;
}

body {
    margin-bottom: 0px;
    /*background-color: #F1FFD8;*/
    background: linear-gradient(0deg, #f5fffa, #e3fff2, #ffffff);
    font-family: 'Poppins', sans-serif;
}

h1 {
    font-family: 'Poppins';
    font-weight: 800;
    margin-bottom: 20px;
}

.display-4 {
    font-weight: 800;
}

h2 {
    font-family: 'Poppins';
    font-weight: 800;
    margin-bottom: 20px;
}


h3 {
    margin-bottom: 10px;
}

.lead {
    font-family: 'Poppins';
    font-weight: 500;
    text-align: justify;
}

.normal {
    font-family: 'Poppins';
    text-align: justify;
}

.flexcontainer {
    display: flex;
}

.u-logo-image-2 {
    max-width: 100px;
}

.download_button {
    margin: 10px;
    padding: 15px;
    text-align: center;
    background-color: #7db9b3;
    color: #FFF;
    opacity: 1;
    flex: 1 1 100%;
    min-height: 56px;
}

#intro-example {
    height: 75px;
    margin-bottom: 25px;
}

#intro-example-header {
    height: 550px;
    margin-bottom: 25px;
}

@media (min-width: 575px) {

    .banner-video-small {
        min-width: 100%;
        height: 75px;
        left: 0;
        top: 0;
        object-fit: cover;
        z-index: -1;
    }

    .banner-video {
        min-width: 100%;
        height: 550px;
        left: 0;
        top: 0;
        object-fit: cover;
        z-index: -1;
    }
}
@media (max-width: 575px) {
    .banner-video-small {
        width: 100%;
        height: 75px;
        left: 0;
        top: 0;
        object-fit: cover;
        z-index: -1;
    }

    .banner-video {
        width: 100%;
        height: 550px;
        left: 0;
        top: 0;
        object-fit: cover;
        z-index: -1;
    }
}

.main-banner-mask {
    width: 100%;
    top: 75px;
}


    .nav-link {
        color: white;
        border-radius: 8px;
        padding: 8px;
        margin: 5px;
    }
    a.nav-link-selected {
        background-color: #FFF;
        color: #198754;
    }

    a.nav-link, a.nav-link:focus, a.navbar-nav, a.dropdown-toggle {
        color: white;
    }

    a.nav-link:hover {
        color: #198754;
        background-color: #FFF;
    }


    @media (min-width: 1200px) {
        .nav-link {
            font-size: 1.1rem;
        }
    }

    .navbar-toggler-icon {
        background-color: #fff;
    }

    .navbar-toggler {
        background-color: #fff;
    }

    .nav-pills {
        background-color: #2A896C;
        --bs-nav-pills-link-active-color: #2A896C;
        --bs-nav-pills-link-active-bg: #fff;
    }

.navbar {
    --bs-navbar-active-color: #198754;
}

a.nav-link:focus {
    background-color: white;
}

a.submenuitem-light, a.submenuitem-dark {
    color: #198754;
    background-color: white;
}
    a.submenuitem-light:hover {
        color: white;
        background-color: #45A78F;
    }
    a.submenuitem-dark:hover {
        color: white;
        background-color: #249176;
    }

    a.reference:hover {
        text-decoration: underline;
    }

    .btn-header {
        width: 140px;
    }

    .btn-next {
        color: #2A896C;
    }

    .img-inheal {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .slide-in-fwd-center {
        -webkit-animation: slide-in-fwd-center 2s cubic-bezier(.25,.46,.45,.94) both;
        animation: slide-in-fwd-center 2s cubic-bezier(.25,.46,.45,.94) both;
    }

    @media (max-width: 575px) {
        .navbar-collapse {
            z-index: 10;
            background-color: #2A896C;
            border-radius: 10px;
            /*background: linear-gradient(90deg, #2A896C, #2A896C);*/
            margin: 0;
        }
    }

    .card-header {
        background-color: #2A896C;
        font-family: 'Poppins';
        font-weight: 800;
    }

    .boardcard {
        border-radius: 4px;
        background: #fff;
        box-shadow: 0 6px 10px rgba(0,0,0,.08), 0 0 6px rgba(0,0,0,.05);
        transition: .3s transform cubic-bezier(.155,1.105,.295,1.12),.3s box-shadow,.3s -webkit-transform cubic-bezier(.155,1.105,.295,1.12);
        padding: 14px 80px 18px 36px;
        cursor: pointer;
        margin-top: 10px;
        margin-bottom: 10px;
    }

        .boardcard:hover {
            transform: scale(1.05);
            box-shadow: 0 10px 20px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
        }

        .boardcard h3 {
            font-weight: 800;
        }

        .boardcard img {
            position: absolute;
            top: 20px;
            right: 15px;
            max-height: 120px;
        }

    /* Image */

    .image {
        position: relative;
        display: inline-block;
        border: 0;
        outline: 0;
    }

    .vertical-middle {
        vertical-align: middle;
    }

    .image img {
        display: block;
        width: 100%;
    }

    .image.fit {
        display: block;
        width: 100%;
    }

    .image.featured {
        display: block;
        width: 100%;
        margin: 0 0 3em 0;
    }

    .image.left {
        float: left;
        margin: 0 2em 2em 0;
    }

    .image.right {
        float: right;
        margin: 0 2em 2em 0;
    }

    .image.centered {
        display: block;
        margin: 0 0 2em 0;
    }

        .image.centered img {
            margin: 0 auto;
            width: auto;
        }

    .error-block {
        white-space: pre-line;
    }

    .error-block ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .error-block li {
        display: block; /* vagy inline, ha folyószöveg kell */
    }

    .error-block.alert {
        padding-bottom: 0 !important;
    }

    ul.nodisc {
        list-style-type: none;
    }

a.link {
    color: #198754;
    text-decoration: none;
}
    a.link:hover {
        text-decoration: underline;
    }

a.tag {
    color: #198754;
    text-decoration: none;
    width: auto;
}
    a.tag:hover, a.tag-highlighted:hover {
        text-decoration: none;
        color: white;
        background-color: #198754;
        background-image: var(--bs-gradient);
    }
a.tag-selected, a.tag-selected-highlighted {
    text-decoration: none;
    color: white;
    background-color: #198754;
    background-image: var(--bs-gradient);
    width: auto;
}
a.tag-highlighted {
    text-decoration: none;
    color: #198754;
    background-color: #E4FFF2;
    background-image: var(--bs-gradient);
    width: auto;
    border: solid;
    border-width: 1px;
    border-color: #198754;
}

.disabled {
    pointer-events: none;
    opacity: 0.5;
}

/* =============================== 
   Új regisztrációs dízájn
   =============================== */

   :root {
  --rg-brand: #198754;      
  --rg-brand-2: #2A896C;         
  --rg-accent: #45A78F;          
  --rg-bg: #F7FFFA;
  --rg-text: #14221b;
}

.rg-wizard {
  --rg-radius: 16px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
  border-radius: var(--rg-radius);
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
  overflow: hidden;
  isolation: isolate;
  margin-bottom: 120px;
}

@media (max-width: 960px) {
  .rg-wizard {
    grid-template-columns: 1fr;
  }
}

.rg-aside {
    position: relative;
    background: radial-gradient(110% 140% at 10% 0%, var(--rg-brand) 0%, var(--rg-brand-2) 55%, #106448 100%);
    color: #fff;
    padding: clamp(24px, 4vw, 48px);
    display: grid;
    align-content: center;
    /*min-height: 520px;*/
    min-height: 450px;
}

.rg-aside .rg-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.12);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.25);
  margin-bottom: 18px;
  transform: translateZ(0);
  animation: rg-pop-in .8s cubic-bezier(.21, 1, .21, 1) .15s both;
}

.rg-aside h1 {
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 8px 0;
}

.rg-aside p {
  opacity: .9;
  margin: 0 0 12px 0;
}

.rg-aside .rg-stepcount {
  margin-top: 8px;
  font-weight: 600;
  letter-spacing: .5px;
  opacity: .9;
}

.rg-form {
    background: linear-gradient(0deg, #ffffff, var(--rg-bg));
    /*padding: clamp(20px, 3vw, 40px);*/
    padding: clamp(15px, 2vw, 25px);
    position: relative;
}

.rg-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
    /* padding: clamp(18px, 2.4vw, 28px); */
    padding: clamp(15px, 2vw, 25px);
}

.rg-progress {
  height: 4px;
  width: 100%;
  background: #E9F7F0;
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 20px;
}

.rg-progress > .rg-progressbar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--rg-brand), var(--rg-accent));
  transition: width .5s cubic-bezier(.22,.61,.36,1);
}

.rg-step {
  display: none;
  opacity: 0;
  transform: translateX(24px);
  animation: none;
}

.rg-step.active {
  display: block;
  animation: rg-step-in .55s cubic-bezier(.22,.61,.36,1) both;
}

.rg-step.done { opacity: .5; }

.rg-fields {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 14px 18px;
}

@media (max-width: 720px) {
  .rg-fields { grid-template-columns: 1fr; }
}

.rg-field label {
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: 6px;
  color: var(--rg-text);
}

.rg-field input[type="text"],
.rg-field input[type="email"],
.rg-field input[type="tel"],
.rg-field input[type="date"],
.rg-field input[type="password"],
.rg-field select,
.rg-field textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(25, 135, 84); /* #D7EDE4;*/
    padding: 12px 14px;
    outline: none;
    font-size: 0.98rem;
    background: #fff;
    transition: border-color .25s, box-shadow .25s, transform .12s;
}

.rg-field input:focus,
.rg-field select:focus,
.rg-field textarea:focus {
  border-color: var(--rg-brand);
  box-shadow: 0 0 0 4px rgba(25,135,84,.15);
}

.rg-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rg-chip-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.rg-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #D7EDE4;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  user-select: none;
}

.rg-chip svg {
  width: 18px; height: 18px;
}

.rg-chip-input:checked + .rg-chip {
  background: rgba(25,135,84,.12);
  color: var(--rg-brand);
  border-color: var(--rg-brand);
  box-shadow: 0 6px 16px rgba(25,135,84,.15);
}

.rg-chip-input:focus + .rg-chip {
  outline: 3px solid rgba(25,135,84,.2);
  outline-offset: 2px;
}

.rg-nav {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.rg-btn {
  appearance: none;
  border: none;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
  position: relative;
  overflow: hidden;
}

.rg-btn:active {
  transform: translateY(1px);
}

.rg-btn-primary {
  background: linear-gradient(90deg, var(--rg-brand), var(--rg-accent));
  color: #fff;
}

.rg-btn-primary:hover {
  filter: saturate(1.05);
  box-shadow: 0 14px 28px rgba(25,135,84,.22);
}

.rg-btn-ghost {
  background: #F0FAF5;
  color: var(--rg-brand);
}

.rg-btn-ghost:hover {
  box-shadow: 0 10px 22px rgba(25,135,84,.12);
}

.rg-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,0,0,.15);
}

.rg-btn::before {
  content: "";
  position: absolute;
  top: 0; 
  left: -75%;
  width: 50%; 
  height: 100%;
  background: linear-gradient(
    120deg, 
    rgba(255, 255, 255, 0.35), 
    rgba(255, 255, 255, 0)
  );
  transform: skewX(-25deg);
}

.rg-btn:hover::before {
  animation: shine 0.75s ease forwards;
}

@keyframes shine {
  to { left: 125%; }
}


.rg-divider {
  height: 1px;
  background: #EAF4EF;
  margin: 10px 0 18px 0;
  border-radius: 4px;
}

@keyframes rg-step-in {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes rg-pop-in {
  0% { transform: scale(.8); opacity: .2; }
  100% { transform: scale(1); opacity: 1; }
}

.rg-check {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(25,135,84,.12);
  display: inline-grid; place-items: center;
  color: var(--rg-brand);
}

.rg-mt-12 { margin-top: 12px; }
.rg-mt-12-sp { 
    display: flex;
    align-items: flex-start; 
    gap: 8px;
    margin-top: 10px;
}

.rg-mt-12-sp input[type="checkbox"] {
  margin-top: 2px; 
}

.rg-mt-18 { margin-top: 18px; }
.rg-mb-0 { margin-bottom: 0; }
.rg-hidden { display: none !important; }

.rg-heading {
  text-align: center;         
  margin-bottom: 24px;
}

.rg-heading h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--rg-brand);
  margin: 0;
  line-height: 1.2;
  position: relative;
}

/*.rg-heading h1::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--rg-brand), var(--rg-accent));
  margin: 10px auto 0 auto;  
  border-radius: 4px;
}*/

.rg-heading h2 {
  font-size: 1.25rem;
  font-weight: 500;
  margin: 10px 0 0 0;
  color: #444;
  opacity: 0.85;
}

.rg-container {
  max-width: 1100px;          
  margin: 0 auto;             
  padding: 0 16px;
}

.rg-callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #F9FFFB;                     
  border: 1px solid #D7EDE4;              
  border-left: 6px solid var(--rg-brand);  
  border-radius: 16px;
  padding: 14px 16px;
  margin: 16px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);  
  color: var(--rg-text);
  line-height: 1.55;
}

.rg-callout .rg-callout-icon {
  flex: 0 0 auto;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(25,135,84,.12);        
  color: var(--rg-brand);
  font-weight: 700;
  margin-top: 2px;                        
}

.rg-callout .rg-callout-title {
  font-weight: 700;
  margin: 0 0 4px 0;
  color: var(--rg-brand-2);
}

.rg-callout p { 
  margin: 0; 
  font-size: 0.98rem;
}

.rg-callout--soft {
  background: #FFFFFF;
  border-left-color: var(--rg-accent);
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}



.rg-step .input-validation-error,
.rg-step [aria-invalid="true"] {
  outline: 2px solid #e53935;
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.15);
}
.rg-step span.text-danger[data-valmsg-for],
.rg-step .field-validation-error {
  display: block;
  margin-top: 0.25rem;
  font-weight: 600;
}

/* =============================== 
   Kalkulátor design
   =============================== */
.h2fpef-card{background:#fff;border:1px solid #D7EDE4;border-radius:16px;box-shadow:0 10px 30px rgba(0,0,0,.08);padding:18px 18px 22px}
.h2fpef-grid{display:grid;grid-template-columns:1fr;gap:10px}
.h2fpef-row{position:relative;overflow:hidden;display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;background:#F9FFFB;border:1px solid #E5F2EC;border-radius:14px;padding:12px 14px;transition:transform .12s ease,box-shadow .2s ease,border-color .2s ease}
.h2fpef-row:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(25,135,84,.08);border-color:#CDE7DB}
.h2fpef-row::after{content:"";position:absolute;inset:auto -20% 0;height:0;background:linear-gradient(90deg,#d1fae5,transparent);transition:height .25s ease;pointer-events:none}
.h2fpef-row:hover::after{height:6px}
.h2fpef-check{position:absolute;opacity:0;pointer-events:none;width:18px;height:18px}
.h2fpef-switch{width:48px;height:28px;border-radius:999px;display:inline-grid;place-items:center;background:linear-gradient(180deg,#e8eef2,#dfe9f2);border:1px solid #cbd5e1;position:relative;box-shadow:inset 0 1px 2px rgba(0,0,0,.05)}
.h2fpef-switch::before{content:"";width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.15),0 0 0 2px rgba(255,255,255,.8) inset;transform:translateX(-9px);transition:transform .2s cubic-bezier(.22,.61,.36,1)}
.h2fpef-row input:focus+.h2fpef-switch{outline:3px solid rgba(25,135,84,.25);outline-offset:2px}
.h2fpef-row input:checked+.h2fpef-switch{background:linear-gradient(180deg,#2BB98A,#1E8F6B);border-color:#198754}
.h2fpef-row input:checked+.h2fpef-switch::before{transform:translateX(9px)}
.h2fpef-text{display:flex;align-items:center;gap:.5rem;flex:1 1 auto;min-width:0;font-weight:600;color:#14221b}
.h2fpef-ico{display:inline-block;width:1.25em;text-align:center;opacity:.9;margin-right:6px}
.h2fpef-pill, .h2fpef-pill2, .h2fpef-pill3{font-weight:800;color:#fff;border-radius:999px;padding:6px 10px;box-shadow:0 2px 6px rgba(0,0,0,.12) inset,0 2px 8px rgba(0,0,0,.08);transition:background .3s cubic-bezier(.22,.61,.36,1),filter .2s ease,transform .18s ease;flex:0 0 auto;position:relative;z-index:1}
.h2fpef-pill{background:linear-gradient(90deg,#198754,#45A78F)}
.h2fpef-pill2{background:linear-gradient(90deg,#7C8719,#92A745)}
.h2fpef-pill3{background:linear-gradient(90deg,#CC1212,#DE4444)}
.h2fpef-row:hover .h2fpef-pill, .h2fpef-row:hover .h2fpef-pill2, .h2fpef-row:hover .h2fpef-pill3{filter:saturate(1.06)}
@keyframes pop{0%{transform:scale(.9)}60%{transform:scale(1.03)}100%{transform:scale(1)}}
.h2fpef-row--active .h2fpef-text{color:#0f172a}
.h2fpef-row--active .h2fpef-pill{background:linear-gradient(90deg,#16A34A,#34D399);animation:pop .18s ease}
.h2fpef-row--active .h2fpef-pill2{background:linear-gradient(90deg,#8AA31A,#B7CF46);animation:pop .18s ease}
.h2fpef-row--active .h2fpef-pill3{background:linear-gradient(90deg,#E11D1D,#F87171);animation:pop .18s ease}
.h2fpef-divider{height:1px;background:#EAF4EF;margin:14px 0;border-radius:4px}
.h2fpef-result{display:grid;grid-template-columns:1fr;gap:12px}
.h2fpef-scorebox{background:#fff;border:1px solid #E5F2EC;border-radius:14px;padding:14px}
.h2fpef-score{display:flex;align-items:baseline;gap:8px}
.h2fpef-score-num{font-size:2.4rem;font-weight:800;color:#198754;line-height:1}
.h2fpef-score-label{font-weight:700;color:#476558}
.h2fpef-meter{height:10px;background:#EAF4EF;border-radius:999px;overflow:hidden;margin-top:8px}
.h2fpef-meter-bar{height:100%;width:0;background:linear-gradient(90deg,#198754,#45A78F);transition:width .45s cubic-bezier(.22,.61,.36,1);will-change:width;transform:translateZ(0)}
.h2fpef-buckets{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.h2fpef-bucket{display:grid;gap:2px;justify-items:center;border:1px dashed #D7EDE4;border-radius:12px;padding:10px;background:#fff}
.h2fpef-bucket strong{font-size:1.1rem;color:#14221b}
.h2fpef-bucket span{font-size:.9rem;color:#476558;text-align:center}
.h2fpef-bucket.active{border-color:#198754;background:#F0FAF5;box-shadow:0 6px 20px rgba(25,135,84,.12)}
@media (max-width:680px){.h2fpef-buckets{grid-template-columns:1fr}}
.h2fpef-layout{display:grid;grid-template-columns:58px 1fr;gap:12px}
.h2fpef-layout .h2fpef-row{grid-column:2}
.h2fpef-prefixcard{grid-column:1;background:#F9FFFB;border:1px solid #E5F2EC;border-radius:14px;box-shadow:0 2px 10px rgba(0,0,0,.06);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:1.5rem;line-height:1;color:var(--rg-brand);padding:6px;transition:border-color .2s ease,box-shadow .2s ease}
.h2fpef-prefixcard:hover{border-color:#CDE7DB;box-shadow:0 8px 20px rgba(25,135,84,.08)}
.h2fpef-prefixcard--tall{grid-row:span 2;font-size:1.5rem}
.h2fpef-prefixcard sub{position:relative;top:.45em;font-size:.6em;line-height:1}
@media (max-width:680px){.h2fpef-layout{grid-template-columns:52px 1fr;gap:10px}}
.h2fpef-term{font-weight:700}
.h2fpef-term .hu, .h2fpef-term .en{font-weight:700}
.h2fpef-term .en .hl{color:var(--rg-brand);font-weight:800;font-size:1.08em}
.h2fpef-text .h2fpef-desc{margin-left:auto;text-align:right;font-size:.9em;line-height:1.2;max-width:52%;color:#476558;overflow-wrap:break-word;word-break:normal;hyphens:auto}
.h2fpef-headbadge{background:#F9FFFB;border:1px solid #E5F2EC;border-radius:16px;box-shadow:0 2px 10px rgba(0,0,0,.06);padding:10px 12px;margin:0 0 10px calc(58px + 12px);display:grid;grid-template-columns:1fr 52% 72px;gap:12px;align-items:center}
.h2fpef-headbadge .hb-title, .h2fpef-headbadge .hb-desc, .h2fpef-headbadge .hb-points{font-weight:800;color:#2A896C;font-size:1.08rem}
.h2fpef-headbadge .hb-desc{text-align:right;padding-right:4px}
.h2fpef-headbadge .hb-points{text-align:center}
@media (min-width:641px) and (max-width:920px){.h2fpef-text .h2fpef-term{white-space:nowrap}.h2fpef-text .h2fpef-desc{font-size:.9em;line-height:1.25;max-width:48%;text-align:right}}
@media (prefers-reduced-motion:reduce){
  .h2fpef-row, .h2fpef-row:hover, .h2fpef-pill, .h2fpef-pill2, .h2fpef-pill3, .h2fpef-meter-bar{transition:none;animation:none}
}
.h2fpef-title{ color:#000 !important; }
.h2fpef-switch{transition:background .25s cubic-bezier(.22,.61,.36,1), border-color .25s cubic-bezier(.22,.61,.36,1), box-shadow .25s ease}
.h2fpef-switch::before{transition:transform .22s cubic-bezier(.22,.61,.36,1), box-shadow .22s ease}
.h2fpef-row input:active + .h2fpef-switch::before{box-shadow:0 2px 4px rgba(0,0,0,.18), 0 0 0 2px rgba(255,255,255,.9) inset}
.h2fpef-meter-bar{transition:width .45s cubic-bezier(.22,.61,.36,1);will-change:width;transform:translateZ(0)}
.h2fpef-scorebox.glow{ animation: h2fpefGlow .6s ease; }
@keyframes h2fpefGlow{0%{ box-shadow:0 0 0 rgba(25,135,84,0); }50%{ box-shadow:0 0 0 8px rgba(25,135,84,.12); }100%{ box-shadow:0 0 0 rgba(25,135,84,0); }}
@media (max-width: 640px){
  .h2fpef-card{margin-left:-24px;margin-right:-24px;border-radius:12px;padding-left:14px;padding-right:14px}
  .h2fpef-layout{grid-template-columns:36px 1fr;gap:6px}
  .h2fpef-prefixcard{font-size:1.24rem;padding:4px;border-radius:11px}
  .h2fpef-headbadge{margin-left:calc(36px + 6px);padding:8px 10px;grid-template-columns:1fr 1fr 64px}
  .h2fpef-row{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto auto;grid-template-areas:"title title" "desc  desc" "switch pill";gap:8px 10px;align-items:center;padding:10px 12px;}
  .h2fpef-ico{display:none !important}
  .h2fpef-term{grid-area:title;align-self:start;font-size:1em}
  .h2fpef-text{display:contents}
  .h2fpef-text .h2fpef-desc{grid-area:desc;margin:0 !important;width:auto;max-width:none;text-align:left;white-space:normal;word-break:normal;overflow-wrap:break-word;line-height:1.35;}
  .h2fpef-switch{grid-area:switch;justify-self:start;align-self:center}
  .h2fpef-row .h2fpef-pill,
  .h2fpef-row .h2fpef-pill2,
  .h2fpef-row .h2fpef-pill3{grid-area:pill;justify-self:end;align-self:center;min-width:48px;padding:6px 8px;margin:0;text-align:center;}
}


/*Hirlevel stílusa*/
.newsletter-page {
        --nl-bg-left: #a8cfc3;
        --nl-bg-mid: #46aa89;
        --nl-bg-right: #1c8068;
        --nl-text-main: #f4fff9;
        --nl-text-muted: #daf2e9;
        --nl-card-bg: #ffffff;
        --nl-card-text: #223240;
        --nl-border: #dbe7e1;
        --nl-accent-dark: #2f8f3f;
        --nl-shadow: 0 14px 36px rgba(0, 45, 35, 0.24);

        width: 100%;
        min-height: 100vh;
        margin: 0;
        padding: clamp(1.5rem, 4vw, 3rem) 1rem clamp(2rem, 5vw, 3rem);
        background: radial-gradient(circle at 12% 30%, rgba(255, 255, 255, 0.34) 0, rgba(255, 255, 255, 0) 46%), linear-gradient(112deg, var(--nl-bg-left) 0%, var(--nl-bg-mid) 45%, var(--nl-bg-right) 100%);
        color: var(--nl-text-main);
    }

    .newsletter-hero {
        max-width: 1460px;
        margin: 0 auto;
    }

    .newsletter-grid {
        display: grid;
        grid-template-columns: minmax(350px, 520px) 1fr;
        gap: clamp(1rem, 2.2vw, 2.2rem);
        align-items: start;
    }

    .newsletter-form-card {
        background: var(--nl-card-bg);
        color: var(--nl-card-text);
        border: 1px solid #d7e2dd;
        border-radius: 8px;
        box-shadow: var(--nl-shadow);
        padding: clamp(1.25rem, 2.2vw, 2rem);
        align-self: start;
    }

    .newsletter-form-card h1 {
        margin: 0 0 1rem;
        font-size: clamp(1.6rem, 2.4vw, 2.2rem);
        font-weight: 700;
        line-height: 1.2;
        color: #2c4250;
    }

    .newsletter-form-card p {
        margin: 0 0 0.65rem;
        color: #4b5f6a;
        line-height: 1.5;
    }

    .newsletter-field {
        margin-top: 0.95rem;
    }

    .newsletter-input {
        height: 46px;
        border: 1px solid var(--nl-border);
        border-radius: 8px;
        font-size: 1rem;
        color: #2f4251;
    }

    .newsletter-input:focus {
        box-shadow: 0 0 0 0.2rem rgba(53, 171, 77, 0.18);
        border-color: #84ca95;
    }

    .newsletter-submit {
        width: 100%;
        margin-top: 1rem;
        padding: 0.72rem 1rem;
        border: 0;
        border-radius: 8px;
        font-weight: 700;
        color: #fff;
        background: linear-gradient(180deg, #43b851 0%, var(--nl-accent-dark) 100%);
        box-shadow: 0 8px 16px rgba(47, 143, 63, 0.26);
    }

    .newsletter-submit:hover,
    .newsletter-submit:focus {
        color: #fff;
        background: linear-gradient(180deg, #4ec55d 0%, #2f8f3f 100%);
    }

    .newsletter-checklist {
        margin-top: 1.15rem;
        padding-top: 1rem;
        border-top: 1px solid #dde8e3;
    }

    .newsletter-check {
        display: flex;
        align-items: flex-start;
        gap: 0.5rem;
        margin-bottom: 0.25rem;
    }

    .newsletter-check .form-check-input {
        margin-top: 0.2rem;
        width: 1.05rem;
        height: 1.05rem;
        border-color: #9eb4ab;
        flex-shrink: 0;
    }

    .newsletter-check .form-check-label {
        margin: 0;
        color: #3f5663;
        font-size: 0.95rem;
        line-height: 1.45;
    }

    .newsletter-check .form-check-label a {
        color: #1279a3;
        text-decoration: underline;
    }

    .newsletter-check-error,
    .newsletter-validation-summary {
        display: block;
        font-size: 0.88rem;
        margin: 0 0 0.5rem 1.55rem;
    }

    .newsletter-validation-summary ul {
        padding-left: 1.2rem;
        margin: 0 0 0.65rem;
    }

    .newsletter-thanks-text {
        margin-top: 0.9rem;
        font-size: 0.95rem;
        font-weight: 600;
        color: #3d5160;
    }

    .newsletter-info-panel {
        position: relative;
        color: var(--nl-text-main);
        min-height: 100%;
        padding: clamp(0.75rem, 1.6vw, 1.5rem) 0.25rem 1.5rem 0.25rem;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
        column-gap: clamp(0.8rem, 1.6vw, 1.8rem);
        row-gap: clamp(0.9rem, 2vw, 1.8rem);
        align-items: start;
    }

    .newsletter-info-content {
        position: relative;
        z-index: 2;
        min-width: 0;
    }

    .newsletter-eyebrow {
        margin: 0;
        font-size: clamp(1.35rem, 2vw, 2rem);
        font-weight: 700;
        color: #f5fffa;
    }

    .newsletter-info-panel h2 {
        margin: 0.2rem 0 0.65rem;
        font-size: clamp(2rem, 3.5vw, 3rem);
        font-weight: 700;
        line-height: 1.08;
        color: #ffffff;
    }

    .newsletter-info-content > p:not(.newsletter-eyebrow) {
        max-width: 820px;
        margin-bottom: 0.5rem;
        color: var(--nl-text-muted);
        font-size: 1.08rem;
        line-height: 1.45;
    }

    .newsletter-benefits-card {
        margin-top: 1rem;
        max-width: 820px;
        background: #f3f7f5;
        border-radius: 24px;
        color: #1f3542;
        box-shadow: var(--nl-shadow);
        overflow: hidden;
    }

    .newsletter-benefits-card h3 {
        margin: 0;
        padding: 1.05rem 1.6rem 1rem;
        font-size: 2rem;
        font-weight: 700;
        color: #2c9b79;
        border-bottom: 1px solid #cfdcd6;
        text-align: center;
    }

    .newsletter-benefits-list {
        margin: 0;
        padding: 1.05rem 1.6rem 1.15rem;
        list-style: none;
        display: grid;
        gap: 0.6rem;
    }

    .newsletter-benefits-list li {
        position: relative;
        padding-left: 2.1rem;
        line-height: 1.35;
        font-size: 1.24rem;
        font-weight: 500;
        color: #1b3240;
    }

    .newsletter-benefits-list li::before {
        content: "\2713";
        position: absolute;
        left: 0;
        top: 0;
        color: #2d9f78;
        font-size: 1.5rem;
        line-height: 1;
        font-weight: 700;
    }

    .newsletter-celia-wrap {
        position: relative;
        width: 100%;
        margin-top: 0.1rem;
        justify-self: end;
        transform: translateX(16px);
        z-index: 1;
        pointer-events: none;
    }

    .newsletter-celia-photo {
        width: 100%;
        height: auto;
        object-fit: contain;
        filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.24));
    }

    .newsletter-signature-card {
        position: relative;
        width: 94%;
        background: #ffffff;
        border-radius: 8px;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
        padding: 0.65rem 0.85rem 0.7rem;
        text-align: center;
        margin: -6.8rem 0 0 auto;
    }

    .newsletter-signature-image {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto 0.25rem;
    }

    .newsletter-signature-name {
        margin: 0;
        color: #243945;
        font-size: 1rem;
        font-weight: 700;
    }

    .newsletter-signature-role {
        margin: 0.1rem 0 0;
        color: #4d5e67;
        font-size: 0.9rem;
        line-height: 1.3;
    }

    .newsletter-highlight {
        grid-column: 1 / -1;
        justify-self: center;
        margin: clamp(1.25rem, 2.8vw, 2.2rem) 0 0.55rem;
        max-width: min(940px, 100%);
        color: #f5fff9;
        font-size: clamp(1.35rem, 2.2vw, 2.35rem);
        font-weight: 700;
        line-height: 1.22;
        text-transform: uppercase;
        letter-spacing: 0.01em;
        text-align: center;
    }

    .newsletter-logo {
        grid-column: 1 / -1;
        justify-self: end;
        width: clamp(120px, 12vw, 180px);
        height: auto;
        opacity: 0.95;
        margin-top: 0.35rem;
        display: block;
        margin-right: 0.25rem;
    }

    .newsletter-thanks-wrap {
        max-width: 1160px;
        min-height: clamp(530px, 70vh, 720px);
        margin: 0 auto;
        display: grid;
        place-items: center;
    }

    .newsletter-thanks-card {
        width: min(920px, 94%);
        background: #f4f4f4;
        border-radius: 20px;
        box-shadow: var(--nl-shadow);
        padding: clamp(2rem, 6vw, 4.4rem) 1.5rem;
        text-align: center;
        color: #1f2b34;
    }

    .newsletter-thanks-icon {
        margin: 0 auto 0.75rem;
        font-size: clamp(4rem, 8vw, 6rem);
        line-height: 1;
        color: #000;
    }

    .newsletter-thanks-card h1 {
        margin: 0;
        font-size: clamp(1.5rem, 2.5vw, 2.15rem);
        line-height: 1.35;
        font-weight: 700;
    }

    .newsletter-thanks-link {
        display: inline-block;
        margin-top: 1.2rem;
        padding: 0.72rem 1.2rem;
        border-radius: 8px;
        background: #2f8f3f;
        color: #fff;
        font-weight: 600;
        text-decoration: none;
    }

    .newsletter-thanks-link:hover,
    .newsletter-thanks-link:focus {
        color: #fff;
        background: #277a35;
        text-decoration: none;
    }

    @media (max-width: 1399.98px) {
        .newsletter-grid {
            grid-template-columns: minmax(340px, 480px) 1fr;
        }

        .newsletter-benefits-list li {
            font-size: 1.08rem;
        }

        .newsletter-info-panel {
            grid-template-columns: minmax(0, 1fr) minmax(235px, 290px);
        }

        .newsletter-info-content > p:not(.newsletter-eyebrow) {
            max-width: 760px;
        }

        .newsletter-benefits-card {
            max-width: 760px;
        }

        .newsletter-celia-wrap {
            margin-top: 0.35rem;
            transform: translateX(10px);
        }
    }

    @media (max-width: 1199.98px) {
        .newsletter-grid {
            grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
            grid-template-areas:
                "form info"
                "celia celia"
                "highlight highlight"
                "logo logo";
            column-gap: 1rem;
            row-gap: 1rem;
            align-items: start;
        }

        .newsletter-form-card {
            grid-area: form;
            width: 100%;
            max-width: none;
            margin: 0;
        }

        .newsletter-info-panel {
            display: contents;
        }

        .newsletter-info-content {
            grid-area: info;
        }

        .newsletter-info-content > p:not(.newsletter-eyebrow) {
            max-width: none;
        }

        .newsletter-benefits-card {
            max-width: none;
        }

        .newsletter-celia-wrap {
            grid-area: celia;
            width: min(440px, 72%);
            justify-self: center;
            align-self: start;
            margin: 0.55rem 0 0 0;
            transform: none;
        }

        .newsletter-signature-card {
            width: 94%;
            margin-top: -4.8rem;
        }

        .newsletter-highlight {
            grid-area: highlight;
            margin-top: 0.8rem;
        }

        .newsletter-logo {
            grid-area: logo;
            margin-top: 0.25rem;
        }
    }

    @media (max-width: 767.98px) {
        .newsletter-page {
            padding-left: 0.65rem;
            padding-right: 0.65rem;
            min-height: 100vh;
            min-height: 100dvh;
        }

        .newsletter-grid {
            grid-template-columns: 1fr;
            grid-template-areas: none;
            row-gap: 1rem;
        }

        .newsletter-form-card {
            padding: 1.1rem;
            grid-area: auto;
            max-width: none;
            margin: 0;
        }

        .newsletter-form-card h1 {
            font-size: 1.5rem;
        }

        .newsletter-info-panel h2 {
            font-size: 1.75rem;
        }

        .newsletter-info-panel {
            display: grid;
            padding-top: 0.35rem;
            grid-template-columns: 1fr;
            column-gap: 0;
            row-gap: 1rem;
        }

        .newsletter-info-content,
        .newsletter-celia-wrap {
            grid-area: auto;
        }

        .newsletter-celia-wrap {
            width: min(440px, 100%);
            margin: 0.9rem 0 0 auto;
            align-self: start;
        }

        .newsletter-signature-card {
            width: 100%;
            margin-top: -2.2rem;
        }

        .newsletter-highlight {
            grid-area: auto;
            margin-top: 1.1rem;
            font-size: 1.3rem;
            line-height: 1.24;
        }

        .newsletter-logo {
            grid-area: auto;
        }

        .newsletter-info-content > p:not(.newsletter-eyebrow) {
            font-size: 1rem;
        }

        .newsletter-benefits-card h3 {
            font-size: 1.5rem;
            padding-left: 1.05rem;
            padding-right: 1.05rem;
        }

        .newsletter-benefits-list {
            padding-left: 1.05rem;
            padding-right: 1.05rem;
        }

        .newsletter-benefits-list li {
            font-size: 1rem;
            padding-left: 1.75rem;
        }

    }

/* MedicalScan health portal */

.ms-health-portal,
.ms-health-show-page {
    --ms-health-brand: #2A896C;
    --ms-health-brand-dark: #1f6d57;
    --ms-health-brand-soft: #45A78F;
    --ms-health-accent: #DFF6EE;
    --ms-health-surface: rgba(255, 255, 255, 0.86);
    --ms-health-border: rgba(42, 137, 108, 0.14);
    --ms-health-shadow: 0 20px 50px rgba(22, 67, 54, 0.12);
    --ms-health-text: #17372d;
    --ms-health-text-soft: #5f7d72;
    color: var(--ms-health-text);
}

.ms-health-portal {
    padding: 1rem 0 2.5rem;
}

.ms-health-hero,
.ms-health-show-header {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 32%),
        linear-gradient(135deg, #effcf6 0%, #dff6ee 45%, #ffffff 100%);
    box-shadow: var(--ms-health-shadow);
}

.ms-health-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: end;
    padding: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 2rem;
}

.ms-health-hero::after,
.ms-health-show-header::after {
    content: "";
    position: absolute;
    inset: auto -4rem -5rem auto;
    width: 14rem;
    height: 14rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(69, 167, 143, 0.24) 0%, rgba(69, 167, 143, 0) 72%);
    pointer-events: none;
}

.ms-health-eyebrow,
.ms-health-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.8rem;
    color: var(--ms-health-brand-dark);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ms-health-hero-title,
.ms-health-show-title {
    margin-bottom: 0.9rem;
    color: var(--ms-health-text);
    line-height: 1.05;
}

.ms-health-hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
}

.ms-health-hero-lead,
.ms-health-show-intro,
.ms-health-show-subtitle,
.ms-health-featured-subtitle,
.ms-health-featured-text,
.ms-health-card-subtitle,
.ms-health-card-text {
    color: var(--ms-health-text-soft);
}

.ms-health-hero-lead,
.ms-health-show-intro {
    max-width: 58rem;
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.8;
}

.ms-health-stat {
    position: relative;
    z-index: 1;
    min-width: 11rem;
    padding: 1.15rem 1.2rem;
    border: 1px solid rgba(42, 137, 108, 0.16);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 18px 35px rgba(42, 137, 108, 0.12);
    text-align: center;
    backdrop-filter: blur(12px);
}

.ms-health-stat-label {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--ms-health-text-soft);
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ms-health-stat-value {
    display: block;
    color: var(--ms-health-brand-dark);
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    line-height: 1;
}

.ms-health-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ms-health-section-heading-grid {
    margin-top: 2.4rem;
}

.ms-health-section-title,
.ms-health-featured-title,
.ms-health-card-title {
    margin: 0;
    color: var(--ms-health-text);
}

.ms-health-section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.ms-health-featured-card {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(260px, 0.82fr);
    gap: clamp(1.4rem, 3vw, 2.2rem);
    align-items: stretch;
    padding: clamp(1.25rem, 3vw, 1.8rem);
    border: 1px solid var(--ms-health-border);
    border-radius: 28px;
    background: var(--ms-health-surface);
    box-shadow: var(--ms-health-shadow);
    backdrop-filter: blur(10px);
}

.ms-health-featured-copy,
.ms-health-card-body {
    display: flex;
    flex-direction: column;
}

.ms-health-featured-copy .ms-health-card-actions {
    margin-top: 1.1rem;
    padding-top: 0;
}

.ms-health-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.ms-health-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.85rem;
    border-radius: 999px;
    background: rgba(42, 137, 108, 0.12);
    color: var(--ms-health-brand-dark);
    font-size: 0.82rem;
    font-weight: 700;
}

.ms-health-date {
    color: var(--ms-health-text-soft);
    font-size: 0.9rem;
    font-weight: 600;
}

.ms-health-featured-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.15;
}

.ms-health-featured-subtitle {
    margin-top: 0.8rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.ms-health-featured-text {
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.8;
}

.ms-health-card-actions {
    margin-top: auto;
    padding-top: 1.3rem;
}

.ms-health-button,
.ms-health-button-secondary {
    min-width: 8.5rem;
    border-radius: 999px;
    padding: 0.78rem 1.2rem;
    font-weight: 700;
    box-shadow: 0 14px 30px rgba(42, 137, 108, 0.16);
}

.ms-health-button {
    border-color: var(--ms-health-brand);
    background: linear-gradient(135deg, var(--ms-health-brand) 0%, var(--ms-health-brand-soft) 100%);
}

.ms-health-button-secondary {
    border-width: 1px;
}

.ms-health-featured-media,
.ms-health-card-media,
.ms-health-show-cover {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(145deg, #e5f7f0 0%, #f8fffc 100%);
}

.ms-health-featured-media {
    align-self: start;
    height: clamp(17rem, 28vw, 20.5rem);
    max-height: 20.5rem;
}

.ms-health-featured-media img,
.ms-health-card-media img,
.ms-health-show-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ms-health-media-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-height: 16rem;
    padding: 1.5rem;
    color: var(--ms-health-brand-dark);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background:
        radial-gradient(circle at top right, rgba(69, 167, 143, 0.28), rgba(69, 167, 143, 0) 40%),
        linear-gradient(135deg, #dff6ee 0%, #effcf6 55%, #ffffff 100%);
}

.ms-health-media-placeholder-small {
    min-height: 14rem;
}

.ms-health-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.ms-health-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--ms-health-border);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 36px rgba(22, 67, 54, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ms-health-card:hover {
    transform: translateY(-4px);
    border-color: rgba(42, 137, 108, 0.28);
    box-shadow: 0 24px 44px rgba(22, 67, 54, 0.14);
}

.ms-health-card-media {
    aspect-ratio: 16 / 11;
}

.ms-health-card-body {
    flex: 1 1 auto;
    padding: 1.25rem;
}

.ms-health-card-title {
    font-size: 1.32rem;
    line-height: 1.2;
}

.ms-health-card-subtitle {
    margin-top: 0.75rem;
    font-size: 0.98rem;
    font-weight: 600;
}

.ms-health-card-text {
    margin-top: 0.9rem;
    font-size: 0.96rem;
    line-height: 1.72;
    max-height: 8.1rem;
    overflow: hidden;
}

.ms-health-empty-state {
    padding: 3rem 1.5rem;
    border: 1px dashed rgba(42, 137, 108, 0.28);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.7);
    text-align: center;
    box-shadow: 0 18px 32px rgba(22, 67, 54, 0.06);
}

.ms-health-empty-state h2 {
    margin-bottom: 0.8rem;
}

.ms-health-empty-state p {
    margin: 0;
    color: var(--ms-health-text-soft);
}

.ms-health-show-page {
    padding: 1rem 0 3rem;
}

.ms-health-show-shell {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ms-health-show-header {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
    gap: 1.4rem;
    align-items: stretch;
    padding: clamp(1.2rem, 3vw, 1.8rem);
}

.ms-health-show-copy {
    display: flex;
    flex-direction: column;
}

.ms-health-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    width: fit-content;
    margin-bottom: 1rem;
    color: var(--ms-health-brand-dark);
    text-decoration: none;
    font-weight: 700;
}

.ms-health-back-link:hover {
    color: var(--ms-health-brand);
    text-decoration: none;
}

.ms-health-show-title {
    font-size: clamp(2rem, 4vw, 3rem);
}

.ms-health-show-subtitle {
    font-size: 1.08rem;
    font-weight: 600;
}

.ms-health-show-intro {
    margin-top: 1rem;
}

.ms-health-show-cover {
    min-height: 15rem;
}

.ms-health-microsite {
    padding: clamp(1.2rem, 3vw, 2rem);
    border: 1px solid var(--ms-health-border);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 34px rgba(22, 67, 54, 0.08);
}

.ms-health-microsite img,
.ms-health-microsite video,
.ms-health-microsite iframe {
    max-width: 100%;
}

.ms-health-microsite table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

@media (max-width: 991px) {
    .ms-health-featured-card,
    .ms-health-show-header {
        grid-template-columns: 1fr;
    }

    .ms-health-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ms-health-featured-media {
        height: clamp(15rem, 38vw, 18rem);
        max-height: 18rem;
    }
}

@media (max-width: 767px) {
    .ms-health-hero {
        grid-template-columns: 1fr;
    }

    .ms-health-stat {
        min-width: auto;
        width: 100%;
    }

    .ms-health-card-grid {
        grid-template-columns: 1fr;
    }

    .ms-health-card-body,
    .ms-health-microsite,
    .ms-health-show-header,
    .ms-health-featured-card {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .ms-health-card-text {
        max-height: none;
    }

    .ms-health-featured-media {
        height: 16rem;
        max-height: 16rem;
    }
}

.ms-health-microsite .boardcard .page-content-img {
    display: flex;
    justify-content: center;
}

.ms-health-microsite .boardcard .page-content-img img,
.ms-health-microsite .boardcard img.img-fluid {
    position: static !important;
    top: auto !important;
    right: auto !important;
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none !important;
    margin: 0 auto;
}

.ms-health-microsite img[src$="/images/inheal.png"] {
    display: block;
    width: clamp(5.5rem, 8vw, 7.5rem) !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 auto;
}

.ms-health-newsletter {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.8rem;
}

.ms-health-newsletter-panel {
    position: relative;
    isolation: isolate;
    width: min(23rem, calc(100vw - 2rem));
    padding: 1.25rem 1.25rem 1.15rem;
    border: 1px solid rgba(42, 137, 108, 0.2);
    border-radius: 24px;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.88) 0%, rgba(236, 248, 244, 0.78) 100%);
    box-shadow: 0 24px 50px rgba(15, 51, 41, 0.2), 0 8px 18px rgba(42, 137, 108, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(0.8rem) scale(0.98);
    transform-origin: bottom right;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.ms-health-newsletter-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 32%),
        linear-gradient(180deg, rgba(42, 137, 108, 0.08), rgba(42, 137, 108, 0));
    z-index: -1;
}

.ms-health-newsletter.is-open .ms-health-newsletter-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.ms-health-newsletter-kicker {
    margin-bottom: 0.55rem;
    color: #1f6d57;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ms-health-newsletter-title {
    margin: 0 2rem 0.65rem 0;
    color: #143a31;
    font-size: 1.3rem;
    line-height: 1.18;
}

.ms-health-newsletter-text {
    margin: 0;
    color: rgba(20, 58, 49, 0.84);
    font-size: 0.97rem;
    line-height: 1.7;
}

.ms-health-newsletter-button {
    margin-top: 1.05rem;
    min-width: 9rem;
    border-radius: 999px;
    padding: 0.76rem 1.18rem;
    font-weight: 700;
    border-color: #2b9274;
    background: linear-gradient(135deg, #2b9274 0%, #49b993 100%);
    box-shadow: 0 14px 26px rgba(43, 146, 116, 0.24);
}

.ms-health-newsletter-close {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 999px;
    background: rgba(20, 58, 49, 0.08);
    color: #1b5d4b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.ms-health-newsletter-close:hover {
    background: rgba(20, 58, 49, 0.14);
    transform: translateY(-1px);
}

.ms-health-newsletter-trigger {
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #2d9476 0%, #50c49f 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.88rem 1.02rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.34);
    box-shadow: 0 20px 34px rgba(33, 110, 87, 0.26), 0 0 0 1px rgba(255, 255, 255, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ms-health-newsletter-trigger:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #36a282 0%, #5dccaa 100%);
    box-shadow: 0 22px 38px rgba(33, 110, 87, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.34);
}

.ms-health-newsletter-trigger-icon {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.ms-health-newsletter-trigger-label {
    font-size: 0.96rem;
    line-height: 1;
}

@media (max-width: 767px) {
    .ms-health-newsletter {
        left: auto;
        right: 0.85rem;
        bottom: 0.85rem;
    }

    .ms-health-newsletter-panel {
        width: min(100%, calc(100vw - 1.7rem));
    }

    .ms-health-newsletter-trigger {
        padding: 0.82rem 0.92rem;
    }
}

.footer-social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.footer-social-links .btn {
    margin: 0 !important;
}

.footer-newsletter-wrap {
    margin-top: -0.35rem;
    margin-bottom: 0.95rem;
    display: flex;
    justify-content: center;
}

.footer-newsletter-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.2rem 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.94);
    font-size: 0.96rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-newsletter-link:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}
