/*
Theme Name: MR/CT Registry
Theme URI: https://mrct-registry.org
Description: Child Theme For Divi
Author: Your Name
Author URI: https://gr4fix.com
Version: 1.0.0
Template: Divi
*/

/* Webfont: LatoLatin-Bold */
@font-face {
    font-family: 'Lato';
    src: url('fonts/LatoLatin-Bold.eot'); /* IE9 Compat Modes */
    src: url('fonts/LatoLatin-Bold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/LatoLatin-Bold.woff2') format('woff2'), /* Modern Browsers */
         url('fonts/LatoLatin-Bold.woff') format('woff'), /* Modern Browsers */
         url('fonts/LatoLatin-Bold.ttf') format('truetype');
    font-style: normal;
    font-weight: 700;
    text-rendering: optimizeLegibility;
}

/* Webfont: LatoLatin-BoldItalic */
@font-face {
    font-family: 'Lato';
    src: url('fonts/LatoLatin-BoldItalic.eot'); /* IE9 Compat Modes */
    src: url('fonts/LatoLatin-BoldItalic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/LatoLatin-BoldItalic.woff2') format('woff2'), /* Modern Browsers */
         url('fonts/LatoLatin-BoldItalic.woff') format('woff'), /* Modern Browsers */
         url('fonts/LatoLatin-BoldItalic.ttf') format('truetype');
    font-style: italic;
    font-weight: 700;
    text-rendering: optimizeLegibility;
}

/* Webfont: LatoLatin-Italic */
@font-face {
    font-family: 'Lato';
    src: url('fonts/LatoLatin-Italic.eot'); /* IE9 Compat Modes */
    src: url('fonts/LatoLatin-Italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/LatoLatin-Italic.woff2') format('woff2'), /* Modern Browsers */
         url('fonts/LatoLatin-Italic.woff') format('woff'), /* Modern Browsers */
         url('fonts/LatoLatin-Italic.ttf') format('truetype');
    font-style: italic;
    font-weight: 400;
    text-rendering: optimizeLegibility;
}

/* Webfont: LatoLatin-Thin */
@font-face {
    font-family: 'Lato';
    src: url('fonts/LatoLatin-Thin.eot'); /* IE9 Compat Modes */
    src: url('fonts/LatoLatin-Thin.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/LatoLatin-Thin.woff2') format('woff2'), /* Modern Browsers */
         url('fonts/LatoLatin-Thin.woff') format('woff'), /* Modern Browsers */
         url('fonts/LatoLatin-Thin.ttf') format('truetype');
    font-style: normal;
    font-weight: 200;
    text-rendering: optimizeLegibility;
}

/* Webfont: LatoLatin-Light */
@font-face {
    font-family: 'Lato';
    src: url('fonts/LatoLatin-Light.eot'); /* IE9 Compat Modes */
    src: url('fonts/LatoLatin-Light.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/LatoLatin-Light.woff2') format('woff2'), /* Modern Browsers */
         url('fonts/LatoLatin-Light.woff') format('woff'), /* Modern Browsers */
         url('fonts/LatoLatin-Light.ttf') format('truetype');
    font-style: normal;
    font-weight: 300;
    text-rendering: optimizeLegibility;
}

/* Webfont: LatoLatin-LightItalic */
@font-face {
    font-family: 'Lato';
    src: url('fonts/LatoLatin-LightItalic.eot'); /* IE9 Compat Modes */
    src: url('fonts/LatoLatin-LightItalic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/LatoLatin-LightItalic.woff2') format('woff2'), /* Modern Browsers */
         url('fonts/LatoLatin-LightItalic.woff') format('woff'), /* Modern Browsers */
         url('fonts/LatoLatin-LightItalic.ttf') format('truetype');
    font-style: italic;
    font-weight: 300;
    text-rendering: optimizeLegibility;
}

/* Webfont: LatoLatin-Medium */
@font-face {
    font-family: 'Lato';
    src: url('fonts/LatoLatin-Medium.eot'); /* IE9 Compat Modes */
    src: url('fonts/LatoLatin-Medium.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/LatoLatin-Medium.woff2') format('woff2'), /* Modern Browsers */
         url('fonts/LatoLatin-Medium.woff') format('woff'), /* Modern Browsers */
         url('fonts/LatoLatin-Medium.ttf') format('truetype');
    font-style: normal;
    font-weight: 500;
    text-rendering: optimizeLegibility;
}

/* Webfont: LatoLatin-MediumItalic */
@font-face {
    font-family: 'Lato';
    src: url('fonts/LatoLatin-MediumItalic.eot'); /* IE9 Compat Modes */
    src: url('fonts/LatoLatin-MediumItalic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/LatoLatin-MediumItalic.woff2') format('woff2'), /* Modern Browsers */
         url('fonts/LatoLatin-MediumItalic.woff') format('woff'), /* Modern Browsers */
         url('fonts/LatoLatin-MediumItalic.ttf') format('truetype');
    font-style: italic;
    font-weight: 500;
    text-rendering: optimizeLegibility;
}

/* Webfont: LatoLatin-Regular */
@font-face {
    font-family: 'Lato';
    src: url('fonts/LatoLatin-Regular.eot'); /* IE9 Compat Modes */
    src: url('fonts/LatoLatin-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/LatoLatin-Regular.woff2') format('woff2'), /* Modern Browsers */
         url('fonts/LatoLatin-Regular.woff') format('woff'), /* Modern Browsers */
         url('fonts/LatoLatin-Regular.ttf') format('truetype');
    font-style: normal;
    font-weight: 400;
    text-rendering: optimizeLegibility;
}

/* Webfont: LatoLatin-Semibold */
@font-face {
    font-family: 'Lato';
    src: url('fonts/LatoLatin-Semibold.eot'); /* IE9 Compat Modes */
    src: url('fonts/LatoLatin-Semibold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/LatoLatin-Semibold.woff2') format('woff2'), /* Modern Browsers */
         url('fonts/LatoLatin-Semibold.woff') format('woff'), /* Modern Browsers */
         url('fonts/LatoLatin-Semibold.ttf') format('truetype');
    font-style: normal;
    font-weight: 600;
    text-rendering: optimizeLegibility;
}

/* Webfont: LatoLatin-SemiboldItalic */
@font-face {
    font-family: 'Lato';
    src: url('fonts/LatoLatin-SemiboldItalic.eot'); /* IE9 Compat Modes */
    src: url('fonts/LatoLatin-SemiboldItalic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/LatoLatin-SemiboldItalic.woff2') format('woff2'), /* Modern Browsers */
         url('fonts/LatoLatin-SemiboldItalic.woff') format('woff'), /* Modern Browsers */
         url('fonts/LatoLatin-SemiboldItalic.ttf') format('truetype');
    font-style: italic;
    font-weight: 600;
    text-rendering: optimizeLegibility;
}

@font-face {
    font-family: 'Leckerli One';
    src: url('fonts/leckerli-one-latin-400-normal.woff2') format('woff2'), /* Modern Browsers */
         url('fonts/leckerli-one-latin-400-normal.woff') format('woff'); /* Modern Browsers */
    font-style: normal;
    font-weight: 400;
    text-rendering: optimizeLegibility;
}

:root {
	--Text-Sizes-Text-title: 24px;
	--Text-Sizes-Text-Medium: 18px;
	--Letter-spacing-title: 0.24px;
	--Letter-spacing-content: 0.18px;
	--DARK-BLUE: #19274C;
	--ORANGE: #E84E10;
	--GREY: #EFEFEF;
	--PASTEL-BLUE: #D8EFF9;
}

@media (max-width: 767px) {
  :root {
      --content-width: 90%;
  }
}
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
    font-family: 'Lato', sans-serif;
}

#page-container {
    position: relative;
    overflow: hidden;
}

#page-container::before {
    content: "";
    position: absolute;
    inset: -75px 0 calc(var(--footer-h, 362px) + 50px) 0;
    /*background: url("/app/uploads/2026/06/ESCR_Herz_Animation_Datnebank.gif") 85% top/contain no-repeat;*/
    background: url("/app/uploads/2026/08/matrix-herz_grau1-1-scaled.jpg") 85% top/contain no-repeat;
    opacity: 0.3;
    z-index: -1;
}
@media (max-width: 765px) {
    #page-container::before {
        background-position: top center;
        background-size: 100%;
        height: 100%;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lato', sans-serif;
}

.hero {
  font-size: clamp(28px, 6.5vw, 70px);

  --gap: 0.45em;          /* ← medzera medzi REGISTRY a taglinom (zväčši/zmenši podľa chuti) */
  --tagline-scale: 0.35;  /* ← veľkosť taglinu vzhľadom k nadpisu */
}

.hero h1 {
  margin: 0;
  color: #8b1d31;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-size: 1em;             /* dedí z .hero */
  line-height: 1.05;
  text-transform: uppercase;
  white-space: nowrap;        /* nadpis sa NEZALAMUJE, len škáluje */
}

.last-line {
  display: inline-flex;
  align-items: flex-end;      /* tagline sadne na spodok vedľa REGISTRY */
  gap: var(--gap);
}

.tagline {
  color: #b8b8b8;
  font-family: "Leckerli One", cursive;
  text-transform: none;       /* nech nededí uppercase */
  font-size: calc(var(--tagline-scale) * 1em);
  line-height: 1.1;
  white-space: nowrap;        /* láme sa len na tvojom <br> */
  padding-bottom: 0.15em;     /* jemné doladenie baseline */
}


.et_pb_text li::marker {
  
}

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

.et_pb_text ol, 
.et_pb_text ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style-position: outside;
    padding-bottom: 0;
}

.et_pb_text ol + *, 
.et_pb_text ul + *{
    padding-top: 24px;
}

.et_pb_text li:has(h3)::marker {
    font-size: 32px;
}

.et_pb_text li h3 {
    margin-bottom: 15px;
}

/* ============================================
   Sticky footer + rozloženie sekcií pri vysokom okne
   ============================================ */

#page-container {
    min-height: 100vh; /* prípadne 100dvh */
    display: flex;
    flex-direction: column;
}

#et-boc {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

#et-main-area {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

/* obsahová vetva – každý wrapper v reťazci musí rásť */
#main-content,
#main-content > article,
#main-content .entry-content,
#main-content .et-l--post,
#main-content .et-l--post > .et_builder_inner_content {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

/* hero sekcia – voľný priestor sa rozdelí nad ňu */
.et_pb_section_2 {
    margin-top: auto;
}

/* stats sekcia (TOP THREE CONTRIBUTORS / NUMBERS) – zatlačí sa na spodok */
.et_pb_section_3 {
    margin-top: auto;
}

/* footer sa nikdy nezmenší */
footer.et-l--footer {
    flex-shrink: 0;
}