    /* body {
    	margin: 0;
    	font-family: 'Poppins', 'Open Sans', Arial, Tahoma, sans-serif;
    }
 */
    /**********************************************************************/
    .ref-onas3-wrapper {
    	padding: 1vw 2vw 0 2vw;
    	background-color: #E8F4FF;
    }

    .ref-onas3-header-line {
    	width: 100%;
    	height: 1px;
    	background-color: #00C;
    }

    .ref-onas3-nadpis h2 {
    	text-align: left;
		font-size: clamp(1.5rem, 2.4vw ,3rem);
    	margin-bottom: 0;
    }

    /**********************************************************************/
    .ref-body {
    	padding: 0.5rem 2rem 1rem 2rem;
    	/* padding-bottom: 0; */
    	background-color: #E8F4FF;
    	/* border: 1px dashed red; */
    }

   .ref-popis {
    	text-align: left;
    	color: black;
    }

    h1.ref-popis {
    	/* font-size: 2rem; */
    	margin-bottom: 1.5rem;
    	line-height: 1.1;
    }

    p.ref-popis {
    	font-size: medium;
    	margin-bottom: 1rem;
    	line-height: 1.4;
    }

    p.ref-popis:last-of-type {
    	margin-bottom: 0;
    }

    /**********************************************************************/
    .ref-grid1 {
    	display: grid;
    	grid-template-columns: 1fr 1fr 1fr 1fr;
    	gap: 0.5rem;
    	align-items: stretch;
    }

    .ref-col {
    	flex: 1;
    	display: flex;
    	flex-direction: column;
    	align-items: stretch;
    }

    .ref-p1,
    .ref-p2 {
    	position: relative;
    	width: 100%;
    	aspect-ratio: 3 / 2;
    	overflow: hidden;
    }

    .ref-p1 img,
    .ref-p2 img {
    	position: absolute;
    	top: 0;
    	left: 0;
    	width: 100%;
    	height: 100%;
    	object-fit: cover;
    	display: block;
    }

    /* textové bloky – rovnaká výška v oboch stĺpcoch */
    .ref-t1,
    .ref-t2 {
    	flex: 1;
    	display: flex;
    	flex-direction: column;
    	align-items: flex-start;
    	padding: 1.2em;
    	/* padding: clamp(0.4rem, 0.8vw, 0.8rem) clamp(0.6rem, 1.2vw, 1.2rem); */
    	color: white;
    	/* font-size: clamp(0.8rem, 1.1vw, 1.4rem); */
    	/* font-size: clamp(0.7rem, 1vw, 1.3rem); */
    	font-size: clamp(0.6rem, 0.9vw, 1.2rem);
    }

    .ref-t1 {
    	background-color: #1848A0;
    }

    .ref-t2 {
    	background-color: #C21;
    }

    .ref-text {
    	width: 100%;
    	line-height: 1.6;
    }

    .ref-text h2 {
    	margin: 0;
    	margin-bottom: 0.2rem;
    	font-size: 1.30em;
    }

    .ref-button {
    	background-color: white;
    	color: black;
    	border: 1px solid transparent;
    	border-radius: 2px;
    	padding: 0 0.2rem;
    	cursor: pointer;
    	font-weight: 700;
    	font-size: 0.9em;
    	/* transition: all 0.3s ease; */
    	margin-left: 1rem;
    	float: right;
    }

    .ref-button:hover {
    	background-color: black;
    	color: white;
    	border-color: white;
    	/* transform: scale(1.05); */
    }

    /* Trojuholníky ********************************************/
    .ref-p1 .ref-triangle {
    	position: absolute;
    	bottom: 0;
    	right: 0;
    	width: 0;
    	height: 0;
    	border-bottom: 3em solid #1848A0;
    	border-left: 3em solid transparent;
    }

    .ref-p2 .ref-triangle {
    	position: absolute;
    	top: 0;
    	left: 0;
    	width: 0;
    	height: 0;
    	border-top: 3em solid #C21;
    	border-right: 3em solid transparent;
    }

    /* Responzívne *********************************************/
    @media (max-width: 900px) {
    	.ref-grid1 {
    		grid-template-columns: 1fr 1fr;
    	}

    	.ref-t1,
    	.ref-t2 {
    		font-size: clamp(0.6rem, 1.6vw, 1.2rem);
    	}

    	.ref-p1,
    	.ref-p2 {
    		aspect-ratio: 2/1;
    	}
    }

    @media (max-width: 600px) {
    	.ref-grid1 {
    		grid-template-columns: 1fr;
    	}

    	.ref-t1,
    	.ref-t2 {
    		font-size: clamp(0.6rem, 2.8vw, 1.2rem);
    	}

    	.ref-p1 {
    		order: 1;
    	}

    	.ref-t1 {
    		order: 2;
    	}

    	.ref-p2 {
    		order: 3;
    	}

    	.ref-t2 {
    		order: 4;
    	}

    	.ref-p2 .ref-triangle {
    		top: auto;
    		left: auto;
    		bottom: 0;
    		right: 0;
    		width: 0;
    		height: 0;
    		border-top: none;
    		border-right: none;
    		border-bottom: 3em solid #C21;
    		border-left: 3em solid transparent;
    	}
    }