/* Font faces (Rubik) - place files in assets/fonts/Rubik/ */
@font-face{
  font-family:'Rubik';
  src: url('/wp-content/themes/clinica/assets/fonts/Rubik/Rubik-Regular.woff2') format('woff2'),
       url('/wp-content/themes/clinica/assets/fonts/Rubik/Rubik-Regular.woff') format('woff');
  font-weight:400; font-style:normal; font-display:swap;
}
@font-face{
  font-family:'Rubik';
  src: url('/wp-content/themes/clinica/assets/fonts/Rubik/Rubik-Bold.woff2') format('woff2'),
       url('/wp-content/themes/clinica/assets/fonts/Rubik/Rubik-Bold.woff') format('woff');
  font-weight:700; font-style:normal; font-display:swap;
}
@font-face{
  font-family:'Rubik';
  src: url('/wp-content/themes/clinica/assets/fonts/Rubik/Rubik-Light.woff2') format('woff2'),
       url('/wp-content/themes/clinica/assets/fonts/Rubik/Rubik-Light.woff') format('woff');
  font-weight:300; font-style:normal; font-display:swap;
}




/* ===== Noto Serif Display — Extended set (100,300,400,600,700,900 + italics) ===== */
@font-face{
  font-family:'Noto Serif Display';
  src: url('/wp-content/themes/clinica/assets/fonts/Noto/subset-NotoSerifDisplay-Thin.woff2') format('woff2'),
       url('/wp-content/themes/clinica/assets/fonts/Noto/subset-NotoSerifDisplay-Thin.woff') format('woff');
  font-weight:100; font-style:normal; font-display:swap;
}
@font-face{
  font-family:'Noto Serif Display';
  src: url('/wp-content/themes/clinica/assets/fonts/Noto/subset-NotoSerifDisplay-ThinItalic.woff2') format('woff2'),
       url('/wp-content/themes/clinica/assets/fonts/Noto/subset-NotoSerifDisplay-ThinItalic.woff') format('woff');
  font-weight:100; font-style:italic; font-display:swap;
}

@font-face{
  font-family:'Noto Serif Display';
  src: url('/wp-content/themes/clinica/assets/fonts/Noto/subset-NotoSerifDisplay-Light.woff2') format('woff2'),
       url('/wp-content/themes/clinica/assets/fonts/Noto/subset-NotoSerifDisplay-Light.woff') format('woff');
  font-weight:300; font-style:normal; font-display:swap;
}
@font-face{
  font-family:'Noto Serif Display';
  src: url('/wp-content/themes/clinica/assets/fonts/Noto/subset-NotoSerifDisplay-LightItalic.woff2') format('woff2'),
       url('/wp-content/themes/clinica/assets/fonts/Noto/subset-NotoSerifDisplay-LightItalic.woff') format('woff');
  font-weight:300; font-style:italic; font-display:swap;
}

@font-face{
  font-family:'Noto Serif Display';
  src: url('/wp-content/themes/clinica/assets/fonts/Noto/subset-NotoSerifDisplay-Regular.woff2') format('woff2'),
       url('/wp-content/themes/clinica/assets/fonts/Noto/subset-NotoSerifDisplay-Regular.woff') format('woff');
  font-weight:400; font-style:normal; font-display:swap;
}
@font-face{
  font-family:'Noto Serif Display';
  src: url('/wp-content/themes/clinica/assets/fonts/Noto/subset-NotoSerifDisplay-Italic.woff2') format('woff2'),
       url('/wp-content/themes/clinica/assets/fonts/Noto/subset-NotoSerifDisplay-Italic.woff') format('woff');
  font-weight:400; font-style:italic; font-display:swap;
}

@font-face{
  font-family:'Noto Serif Display';
  src: url('/wp-content/themes/clinica/assets/fonts/Noto/subset-NotoSerifDisplay-SemiBold.woff2') format('woff2'),
       url('/wp-content/themes/clinica/assets/fonts/Noto/subset-NotoSerifDisplay-SemiBold.woff') format('woff');
  font-weight:600; font-style:normal; font-display:swap;
}
@font-face{
  font-family:'Noto Serif Display';
  src: url('/wp-content/themes/clinica/assets/fonts/Noto/subset-NotoSerifDisplay-SemiBoldItalic.woff2') format('woff2'),
       url('/wp-content/themes/clinica/assets/fonts/Noto/subset-NotoSerifDisplay-SemiBoldItalic.woff') format('woff');
  font-weight:600; font-style:italic; font-display:swap;
}

@font-face{
  font-family:'Noto Serif Display';
  src: url('/wp-content/themes/clinica/assets/fonts/Noto/subset-NotoSerifDisplay-Bold.woff2') format('woff2'),
       url('/wp-content/themes/clinica/assets/fonts/Noto/subset-NotoSerifDisplay-Bold.woff') format('woff');
  font-weight:700; font-style:normal; font-display:swap;
}
@font-face{
  font-family:'Noto Serif Display';
  src: url('/wp-content/themes/clinica/assets/fonts/Noto/subset-NotoSerifDisplay-BoldItalic.woff2') format('woff2'),
       url('/wp-content/themes/clinica/assets/fonts/Noto/subset-NotoSerifDisplay-BoldItalic.woff') format('woff');
  font-weight:700; font-style:italic; font-display:swap;
}

@font-face{
  font-family:'Noto Serif Display';
  src: url('/wp-content/themes/clinica/assets/fonts/Noto/subset-NotoSerifDisplay-Black.woff2') format('woff2'),
       url('/wp-content/themes/clinica/assets/fonts/Noto/subset-NotoSerifDisplay-Black.woff') format('woff');
  font-weight:900; font-style:normal; font-display:swap;
}
@font-face{
  font-family:'Noto Serif Display';
  src: url('/wp-content/themes/clinica/assets/fonts/Noto/subset-NotoSerifDisplay-BlackItalic.woff2') format('woff2'),
       url('/wp-content/themes/clinica/assets/fonts/Noto/subset-NotoSerifDisplay-BlackItalic.woff') format('woff');
  font-weight:900; font-style:italic; font-display:swap;
}


/* ===== DM Sans — unified family (100,200,300,400,500,600,700,900 + italics) ===== */
@font-face{
  font-family:'DM Sans';
  src:url('/wp-content/themes/clinica/assets/fonts/DMSans/DMSans-Thin.woff2') format('woff2'),
      url('/wp-content/themes/clinica/assets/fonts/DMSans/DMSans-Thin.woff') format('woff');
  font-weight:100; font-style:normal; font-display:swap;
}
@font-face{
  font-family:'DM Sans';
  src:url('/wp-content/themes/clinica/assets/fonts/DMSans/DMSans-ThinItalic.woff2') format('woff2'),
      url('/wp-content/themes/clinica/assets/fonts/DMSans/DMSans-ThinItalic.woff') format('woff');
  font-weight:100; font-style:italic; font-display:swap;
}

@font-face{
  font-family:'DM Sans';
  src:url('/wp-content/themes/clinica/assets/fonts/DMSans/DMSans-ExtraLight.woff2') format('woff2'),
      url('/wp-content/themes/clinica/assets/fonts/DMSans/DMSans-ExtraLight.woff') format('woff');
  font-weight:200; font-style:normal; font-display:swap;
}
@font-face{
  font-family:'DM Sans';
  src:url('/wp-content/themes/clinica/assets/fonts/DMSans/DMSans-ExtraLightItalic.woff2') format('woff2'),
      url('/wp-content/themes/clinica/assets/fonts/DMSans/DMSans-ExtraLightItalic.woff') format('woff');
  font-weight:200; font-style:italic; font-display:swap;
}

@font-face{
  font-family:'DM Sans';
  src:url('/wp-content/themes/clinica/assets/fonts/DMSans/DMSans-Light.woff2') format('woff2'),
      url('/wp-content/themes/clinica/assets/fonts/DMSans/DMSans-Light.woff') format('woff');
  font-weight:300; font-style:normal; font-display:swap;
}
@font-face{
  font-family:'DM Sans';
  src:url('/wp-content/themes/clinica/assets/fonts/DMSans/DMSans-LightItalic.woff2') format('woff2'),
      url('/wp-content/themes/clinica/assets/fonts/DMSans/DMSans-LightItalic.woff') format('woff');
  font-weight:300; font-style:italic; font-display:swap;
}

@font-face{
  font-family:'DM Sans';
  src:url('/wp-content/themes/clinica/assets/fonts/DMSans/DMSans-Regular.woff2') format('woff2'),
      url('/wp-content/themes/clinica/assets/fonts/DMSans/DMSans-Regular.woff') format('woff');
  font-weight:400; font-style:normal; font-display:swap;
}
@font-face{
  font-family:'DM Sans';
  src:url('/wp-content/themes/clinica/assets/fonts/DMSans/DMSans-Italic.woff2') format('woff2'),
      url('/wp-content/themes/clinica/assets/fonts/DMSans/DMSans-Italic.woff') format('woff');
  font-weight:400; font-style:italic; font-display:swap;
}

@font-face{
  font-family:'DM Sans';
  src:url('/wp-content/themes/clinica/assets/fonts/DMSans/DMSans-Medium.woff2') format('woff2'),
      url('/wp-content/themes/clinica/assets/fonts/DMSans/DMSans-Medium.woff') format('woff');
  font-weight:500; font-style:normal; font-display:swap;
}
@font-face{
  font-family:'DM Sans';
  src:url('/wp-content/themes/clinica/assets/fonts/DMSans/DMSans-MediumItalic.woff2') format('woff2'),
      url('/wp-content/themes/clinica/assets/fonts/DMSans/DMSans-MediumItalic.woff') format('woff');
  font-weight:500; font-style:italic; font-display:swap;
}

@font-face{
  font-family:'DM Sans';
  src:url('/wp-content/themes/clinica/assets/fonts/DMSans/DMSans-SemiBold.woff2') format('woff2'),
      url('/wp-content/themes/clinica/assets/fonts/DMSans/DMSans-SemiBold.woff') format('woff');
  font-weight:600; font-style:normal; font-display:swap;
}
@font-face{
  font-family:'DM Sans';
  src:url('/wp-content/themes/clinica/assets/fonts/DMSans/DMSans-SemiBoldItalic.woff2') format('woff2'),
      url('/wp-content/themes/clinica/assets/fonts/DMSans/DMSans-SemiBoldItalic.woff') format('woff');
  font-weight:600; font-style:italic; font-display:swap;
}

@font-face{
  font-family:'DM Sans';
  src:url('/wp-content/themes/clinica/assets/fonts/DMSans/DMSans-Bold.woff2') format('woff2'),
      url('/wp-content/themes/clinica/assets/fonts/DMSans/DMSans-Bold.woff') format('woff');
  font-weight:700; font-style:normal; font-display:swap;
}
@font-face{
  font-family:'DM Sans';
  src:url('/wp-content/themes/clinica/assets/fonts/DMSans/DMSans-BoldItalic.woff2') format('woff2'),
      url('/wp-content/themes/clinica/assets/fonts/DMSans/DMSans-BoldItalic.woff') format('woff');
  font-weight:700; font-style:italic; font-display:swap;
}

@font-face{
  font-family:'DM Sans';
  src:url('/wp-content/themes/clinica/assets/fonts/DMSans/DMSans-Black.woff2') format('woff2'),
      url('/wp-content/themes/clinica/assets/fonts/DMSans/DMSans-Black.woff') format('woff');
  font-weight:900; font-style:normal; font-display:swap;
}
@font-face{
  font-family:'DM Sans';
  src:url('/wp-content/themes/clinica/assets/fonts/DMSans/DMSans-BlackItalic.woff2') format('woff2'),
      url('/wp-content/themes/clinica/assets/fonts/DMSans/DMSans-BlackItalic.woff') format('woff');
  font-weight:900; font-style:italic; font-display:swap;
}


:root{
  --font-serif-display: 'Noto Serif Display', 'Noto Serif', serif;
  --font-sanserif-display: 'DM Sans', sans-serif;

}


html{ font-size:16px; line-height:1.6; }

/* Display */
.display-xl{ font-size: clamp(1.75rem, 4.5vw + 0.5rem, 2.25rem); font-weight:700; font-style:normal; line-height:1.2; font-family: var(--font-serif-display); color: var( --color-text); }
.display-m{ font-size: clamp(1.2rem, 3.5vw + 0.25rem, 2rem);  font-weight:700; line-height:1.2; font-family: var(--font-serif-display); }

/* Headings */
.heading-xl{ font-size: clamp(1.625rem, 2.2vw + 0.5rem, 2rem); font-weight:400; line-height:1.3; font-family: var(--font-sanserif-display); }
.heading-l { font-size: clamp(1.5rem, 2vw + 0.4rem, 1.75rem);  font-weight:400; line-height:1.3; font-family: var(--font-sanserif-display); }
.heading-m { font-size: clamp(1.25rem, 1.6vw + 0.3rem, 1.4rem); font-weight:400; line-height:1.4; font-family: var(--font-sanserif-display); }
.heading-s { font-size: clamp(1rem, 1.2vw + 0.4rem, 1.25rem); font-weight:400; line-height:1.4; font-family: var(--font-sanserif-display);}

/* Body */
.body-l{ font-size: clamp(1.0625rem, 0.8vw + 0.6rem, 1.25rem); font-weight:400; line-height:1.65; }
.body-m{ font-size: clamp(1rem, 0.6vw + 0.5rem, 1.125rem);     font-weight:400; line-height:1.65; }
.body-s{ font-size:1rem;      font-weight:400; line-height:1.6; }
.body-xs{ font-size:.875rem;  font-weight:400; line-height:1.5; }

/* Labels */
.label-l { font-size:1.3rem;   font-weight:500; line-height:1.4; }
.label-m { font-size:1.2rem;   font-weight:500; line-height:1.4; }
.label-s { font-size:.875rem;  font-weight:600; line-height:1.3; }
.label-xs{ font-size:.75rem;   font-weight:600; line-height:1.3; }
