
/*-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
	Opmaak voor de cursus-artikelen onder /online-training-maken/ en de hub-pagina. Gemoderniseerd
	zodat deze 30 pagina's dezelfde frisse uitstraling hebben als de rest van de site. Structuur en
	klassennamen zijn ongewijzigd (de artikelen en de JS gebruiken ze), alleen de visuele opmaak is
	vernieuwd. Kleuren komen uit de huisstijlconstanten.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/

body								{background-color: #FAFAFF; color: #1c2b3a;}
.spaceHolder						{height: 6.5rem;}

/* blauwe kopband met de lestitel erin, bewegende golflijnen op de achtergrond en een zachte golf onderaan */
.banner								{position: relative; left: 0; top: 0; width: 100%; height: 13rem; z-index: 0; overflow: hidden;
									 display: flex; align-items: center; justify-content: center; text-align: center;
									 background: linear-gradient(135deg, #00589C 0%, #3598DC 65%, #4bb0ea 100%) !important;}
	/* bewegende golflijnen (herhalende SVG die zijwaarts schuift) */
	.banner:before					{content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
									 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='120' viewBox='0 0 240 120'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.6'%3E%3Cpath d='M0,28 Q60,8 120,28 T240,28' opacity='0.14'/%3E%3Cpath d='M0,62 Q60,88 120,62 T240,62' opacity='0.18'/%3E%3Cpath d='M0,94 Q60,74 120,94 T240,94' opacity='0.10'/%3E%3C/g%3E%3C/svg%3E");
									 background-repeat: repeat-x; background-size: 240px 100%;
									 -webkit-mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
									 mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
									 animation: bannerGolf 24s linear infinite;}
	.banner:after					{content: ""; position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; height: 3rem; background-color: #FAFAFF;
									 -webkit-mask: radial-gradient(120% 100% at 50% 0, transparent 99%, #000 100%);
									 mask: radial-gradient(120% 100% at 50% 0, transparent 99%, #000 100%);}
	/* de lestitel wordt door scripts.php in de band gezet en krijgt de klasse .bannerTitle */
	.banner .bannerTitle			{position: relative; z-index: 1; width: min(1200px, 100% - 3rem); margin: 0 auto; padding: 0 1rem;
									 color: #FFFFFF; font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.2; text-align: center;
									 opacity: 0; transform: translateY(0.75rem); animation: bannerTitelIn 0.6s 0.05s ease forwards;}
	@keyframes bannerGolf			{to {background-position-x: 240px;}}
	@keyframes bannerTitelIn		{to {opacity: 1; transform: none;}}
	@media (prefers-reduced-motion: reduce){
		.banner:before				{animation: none;}
		.banner .bannerTitle		{animation: none; opacity: 1; transform: none;}
	}

.courseWrapper						{position: relative; display: block; width: min(1200px, 100% - 3rem); margin: 2.5rem auto 0; padding-bottom: 3rem;
									 line-height: 1.75; text-align: left; z-index: 1;}
	.courseWrapper:before			{display: none;}
.innerWrapper						{padding-top: 0;}

/* zwevende lesnavigatie */
.courseNav							{position: sticky; float: right; top: 8rem; width: 17rem; margin: 0.5rem 0 2rem 2rem;
									 background-color: #FFFFFF; border: 1px solid rgba(28,43,58,0.10); border-radius: 0.9rem;
									 box-shadow: 0 0.6rem 1.6rem rgba(28,43,58,0.08); padding: 0.75rem 0; line-height: 1.9;}
	.courseNav .home				{display: block; padding: 0.4rem 1rem 0.4rem 1.4rem; margin-bottom: 0.4rem; color: #3598DC; font-weight: 700; font-size: 0.9rem;}
		.courseNav .home i			{font-size: 0.8em;}
		.courseNav .home:hover		{background-color: rgba(53, 152, 220, 0.08);}
	.courseNav ul					{padding: 0 0.75rem; list-style: none; font-size: 0.92rem;}
		.courseNav ul b				{display: block; padding: 0.35rem 0.65rem; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; opacity: 0.55;}
		.courseNav ul li			{position: relative; border-radius: 0.5rem; transition: background-color 0.15s;}
			.courseNav ul li:hover, .courseNav ul li.current	{background-color: rgba(53, 152, 220, 0.09);}
			.courseNav ul li.current							{box-shadow: inset 3px 0 0 #F49C14;}
		.courseNav ul li a			{position: relative; display: block; padding: 0.3rem 0.65rem; color: inherit; text-decoration: none;}
		.courseNav ul li.current a	{color: #3598DC; font-weight: 600;}
	/* interne links naar functiepagina's, onder de lesnavigatie */
	.courseFeatures				{margin: 0.75rem 0.75rem 0.25rem; padding-top: 0.85rem; border-top: 1px solid rgba(28,43,58,0.10); font-size: 0.92rem;}
		.courseFeatures b		{display: block; padding: 0 0.65rem; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; opacity: 0.55; margin-bottom: 0.35rem;}
		.courseFeatures a		{display: block; padding: 0.3rem 0.65rem; border-radius: 0.5rem; color: #3598DC; text-decoration: none; transition: background-color 0.15s;}
		.courseFeatures a:hover	{background-color: rgba(53, 152, 220, 0.08);}

h1									{font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.2; margin: 0 0 1.5rem; padding: 0; color: #1c2b3a;}
.main								{font-size: 1.06rem;}
.main, section						{max-width: 46rem;}
section								{border: 0;}
	section h2						{font-size: 1.5rem; line-height: 1.35; margin: 2.5rem 0 1rem; color: #1c2b3a;}
	section ol						{margin-left: 1.3rem;}
	section ul						{margin-left: 1.3rem;}
	section ol li					{margin-bottom: 0.5rem; font-weight: 700;}
	section ol li div				{font-weight: normal;}
	section a						{color: #3598DC; text-decoration: none; font-weight: 600;}
	section a:hover					{text-decoration: underline;}
section blockquote					{position: relative; display: block; max-width: 42rem; margin: 1.5rem 0; padding: 1.25rem 1.5rem 1.25rem 2.5rem;
									 background-color: rgba(53, 152, 220, 0.06); border-left: 4px solid #3598DC; border-radius: 0.6rem;
									 font-weight: 700; font-style: italic; color: #00589C;}
section img							{width: 100%; max-width: 46rem; height: auto; border-radius: 0.75rem; margin: 1rem 0;}

/* uitklapbare veelgestelde vragen */
.faqs								{max-width: 46rem; margin-bottom: 3rem;}
	.faq							{display: block; width: 100%; margin-bottom: 0.75rem; text-align: left; background-color: #FFFFFF;
									 border: 1px solid rgba(28,43,58,0.10); border-radius: 0.75rem; overflow: hidden;}
	.faq .question					{position: relative; display: block; width: 100%; padding: 1rem 3rem 1rem 1.25rem; font-weight: 700; cursor: pointer;
									 transition: background-color 0.15s;}
		.faq .question:not(.open):hover	{background-color: rgba(53, 152, 220, 0.05);}
		.faq .question:after		{content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); font-size: 1.3rem; font-weight: 400; color: #3598DC; transition: transform 0.2s;}
		.faq .question.open			{color: #3598DC;}
		.faq .question.open:after	{content: "\2212";}
	.faq .answer					{display: none; padding: 0 1.25rem 1.15rem; line-height: 1.75; opacity: 0.88;}

.prevNextButtons					{display: flex; justify-content: center; align-items: center; gap: 1.5rem; margin: 2.5rem 0 4rem; color: #3598DC; font-weight: 600;}
	.prevNextButtons a				{display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.55rem 1.1rem; border-radius: 2rem; cursor: pointer; text-decoration: none; color: #3598DC;
									 border: 1px solid rgba(53,152,220,0.4); transition: background-color 0.15s;}
	.prevNextButtons a:hover		{background-color: rgba(53, 152, 220, 0.08);}

.video								{max-width: 46rem; margin-top: 1.5rem;}
	.video #mainVideoSRC			{display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border-radius: 0.9rem; overflow: hidden; box-shadow: 0 1rem 2rem rgba(28,43,58,0.14);}
.salesBanner						{display: block; width: 100%; max-width: 46rem; margin: 2rem 0 1rem; border-radius: 0.75rem;}
.centerButton						{display: block; max-width: 46rem; text-align: center; margin: 2rem 0;}
	.centerButton .button			{border-radius: 2rem; padding: 0.85rem 1.9rem; box-shadow: 0 0.5rem 1.2rem rgba(244, 156, 20, 0.32);}

/* hub-pagina: de leskaarten */
.lesson								{position: relative; display: inline-block; vertical-align: top; width: 21rem; max-width: 100%; margin: 0.85rem; color: #1c2b3a;
									 background-color: #FFFFFF; border: 1px solid rgba(28,43,58,0.10); border-radius: 0.9rem; overflow: hidden;
									 box-shadow: 0 0.5rem 1.4rem rgba(28,43,58,0.07); transition: transform 0.15s ease, box-shadow 0.15s ease;}
	.lesson:hover					{transform: translateY(-3px); box-shadow: 0 0.9rem 2rem rgba(28,43,58,0.12);}
	.lesson h2						{margin: 0; padding: 1.1rem 1.25rem; font-size: 1.02rem; line-height: 1.35; color: #FFFFFF;
									 background: linear-gradient(135deg, #00589C, #3598DC) !important;}
	.lesson .text					{background-color: #FFFFFF; max-height: 5.4rem; padding: 0.85rem 1.25rem; font-size: 0.9rem; line-height: 1.6; overflow: hidden; transition: max-height 0.5s;}
	.lesson.open .text				{max-height: 22rem;}
	.lesson i						{position: absolute; right: 0.5rem; bottom: 0.5rem; padding: 0.35rem 0.5rem; color: #3598DC; transition: transform 0.35s;}
	.lesson.open i					{transform: rotate(180deg);}

@media screen and (max-width: 1200px){
	.courseNav						{display: none;}
}
@media screen and (max-width: 1000px){
	.banner							{height: 8rem;}
	.courseWrapper					{margin-top: 2rem;}
}
@media screen and (max-width: 560px){
	.lesson							{width: 100%; margin: 0.6rem 0;}
}
