/*MOBILE STULES*/
@media screen and (max-width: 428px) {
	/* RESET & GLOBAL */
	.content {
		width: 100%;
		padding: 20px;
	}
	section {
		padding: 20px 10px;
	}
	.clearfix {
		clear:none; /* floats are removed*/
	}
	/*TYPOGRAPHY */
	h1 {
		font-size: 30px;
	}
	h2 {
		letter-spacing: 0.3em; /* reduced huge spacing for narrow screens*/
		font-size: 18px;
	}
	#pagelabel h1 {
		font-size: 28px;
	}
	p.text-mobile {
		display: block; /*shoq hidden mobile specific text*/
		margin: 15px 0;
	}
	/* HEADER AND NAVIGATION*/
	header {
		text-align: center;
	}
	#logo, nav {
		float: none;
	}
	#lofo img {
		height: 80px;
		margin: 0 auto;
	}
	nav {
		margin: 10px auto;
		width: 25%;
		text-align: center;	
	}
	nav ul {
		width: 100%;
		max-width: 300px;
		margin: 0 auto;
		padding: 0;
		display: flex; 
		justify-content: center;
		gap: 12px;
	}
	nav ul li {
		float: none;
		margin: 10px 0 0;
		padding: 14px;
		width: 100%;
		list-style: none;
		margin: 0;
		text-align: center;
	}
	nav ul li a {
		font-size: 0.95em;
		text-align: center;
		padding: 8px;
	}
/* FEATURED LESSON*/
	.featured-text {
		flex-direction: column;
	}
	.featured-cta {
		margin-left: 0;
		margin-top:20px
		flex: 1 1 auto;
		width: 100%;
	}
	/*about*/
	#masters {
		width: 100%;
	}
	.master-content {
		width: 100%;
		float: none;
	}
	#headmaster {
		width: 100%;
		margin: 0 auto;
	}
	#pagelabel {
		padding: 20px;
	}
	#masters {
		width: 100%;
		flex-direction: column;
	}
	.lessonmasters {
		font-size: 0.9em;
	}
	.lessonmaster-content img {
		width: 100%;
		max-width: 150px;
		border-radius: 50%;
		margin-bottom: 10px;
	}
	/* CARDS AND LESSONS*/
	.card-container,
	.card-container.lessons,
	.lessonmasters {
		flex-direction: column;
		align-items: center;
	}
	.card,
	.lessons.videos .card,
	.lessonmaster-content{
		width: 100%;
		flex: 1 1 100%;
		margin-bottom: 20px;
	}
	.lesson {
		width: 100%;
		float: none;
		margin-left: 0;
		margin-bottom: 15px;
	}
/*CONTACT*/
	.contactcontent {
		flex-direction: column;
	}
	#form-container, 
	#contactinfo-container {
		flex-basis: 100%;
	}
	.form-group {
		flex-direction: column;
	}
	.form-group label {
		flex-basis: auto;
		margin-bottom: 5px;
	}
	.form-group input [type="text"],
	.form-group input [type="email"],
	.form-group input [type="number"],
	.form-group select,
	.form-group textarea {
		width: 100%;
		flex: 1 1 auto;
	}
/*FOOTER*/
	footer {
		text-align: center;
	}
	footer img {
		float: none;
		width: 150px;
		margin: 0 auto 15px;
		display: block;
	}
	#copyright, #designer {
		float: none;
		margin-left: 0;
		margin-top: 10px;
		width: 100%;
		display: block;
	}
	/*FORM*/
	.form-group {
		font-size: 1.1em;		
	}
	.form row {
		margin-bottom: 10px;
	}
	#skill-level-options {
		flex-direction: column;
		gap: 10px;
	}
	#skill-level-options .form-row {
		margin-bottom: 6px;
	}
	.form-groupselect {
		font-size: 0.8em;
		height: 44px;
		line-height: 44px;
	}
	/*UGC*/
	#ugc .ugc-feed {
		grid-template-columns: 1fr;
	}
	#ugc .ugc-form-iframe {
		height: 920px;
	}
	#ugc .ugc-avatar {
		width:40px;
		height: 40px;
	}
	#ugc .ugc-card {
		padding: 16px;
	}
}