@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

/* =============================================
   CMS Page Overrides
   ============================================= */
#contentpage {
	padding-right: 0;
	padding-left: 0;
}

#contentpage .col-12:first-child {
	padding-right: 0;
	padding-left: 0;
}

body {
	overflow-x: hidden;
}

.skyscraper {
	display: none;
}

#content {
	margin-top: -4px;
	margin-bottom: -43px;
}

/* =============================================
   Blog Base Styles
   ============================================= */
#MATemplate {
	font-family: 'Poppins', sans-serif !important;
}

#MATemplate .st0 {
	fill: #FFFFFF;
}

#MATemplate section {
	margin: 50px 15px;
}

#MATemplate .row {
	margin: 0 auto;
	max-width: 1300px;
}

#MATemplate .col-12 {
	padding: 0;
}

#MATemplate .btn {
	border-radius: 3px;
	background: #ad0109;
	transition: all 0.3s ease;
	color: white;
}

#MATemplate .btn:hover {
	background: #8a030a;
}

#MATemplate ul {
	font-family: "Poppins", sans-serif;
	font-size: 1rem;
	padding: 0 2rem;
}

#MATemplate li {
	margin: 0.5rem 0;
}

#MATemplate h1 {
	color: #000;
	font-size: 28px;
	font-weight: 700;
}

#MATemplate h2 {
	color: #000;
	font-size: 24px;
	font-weight: 700;
}

#MATemplate h3:not(.promoTitle) {
	color: #000;
	font-size: 18px;
	font-weight: 700;
}

#MATemplate p {
	color: #000;
	font-size: 16px;
	font-weight: 400;
}

#MATemplate a:not(.btn-primary) {
	color: #AD0109;
	font-weight: bold;
}

/* =============================================
   Column Gap Padding
   ============================================= */
.MAPaddingRight {
	padding-right: 20px !important;
}

.MAPaddingLeft {
	padding-left: 20px !important;
}

@media (max-width: 991px) {
	.MAPaddingRight {
		padding-right: 0 !important;
	}
	.MAPaddingLeft {
		padding-left: 0 !important;
	}
}

/* =============================================
   Full-Width Sections
   ============================================= */
.MAFullWidthBase {
	width: 100dvw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw !important;
	margin-right: -50vw !important;
}

#MATemplate .MAHeader {
	width: 100dvw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw !important;
	margin-right: -50vw !important;
	margin-top: 2px;
	height: 400px;
	margin-bottom: 30px !important;
	display: flex;
	justify-content: center;
	align-items: center;
	color: white;
	padding: 75px 0;
	background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.5) 0%, rgba(14, 14, 14, 0.5) 100%), url(/download/b2c_be_nl/pic/blogkeychron/img/hero-keychron.webp);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

#MATemplate .MAHeader svg {
	max-height: 160px;
	padding: 20px;
}

.MAHeader p {
	font-size: 3rem !important;
	font-weight: 800 !important;
	color: #fff !important;
}

.MAFullWidthGray {
	width: 100dvw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw !important;
	margin-right: -50vw !important;
	margin-top: 50px !important;
	margin-bottom: 0 !important;
	padding-top: 50px !important;
	padding-bottom: 50px !important;
	background-color: #ececec;
}

.MAFullWidthGrayPaddingTop {
	width: 100dvw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw !important;
	margin-right: -50vw !important;
	padding: 50px 15px !important;
	margin-top: 20px !important;
	margin-bottom: 20px !important;
	background-color: #ececec;
}

/* =============================================
   Mobile Typography
   ============================================= */
@media (max-width: 390px) {
	#MATemplate .MAHeader {
		height: 300px;
		background-position: 85% !important;
	}
}

@media (max-width: 760px) {
	#MATemplate .MAHeader {
		height: 300px;
		background-position: right;
	}

	#MATemplate .MAHeader p {
		font-size: 1.6rem !important;
	}

	#MATemplate h1 {
		font-size: 24px;
	}

	#MATemplate h2 {
		font-size: 20px;
	}

	#MATemplate h3:not(.promoTitle) {
		font-size: 16px;
	}

	#MATemplate p {
		font-size: 14px;
	}
}

/* =============================================
   Contact Section
   ============================================= */
.MAContactText {
	margin: auto 0;
	padding: 1rem 0;
	text-align: center;
}

@media (min-width: 768px) {
	.MAContactText {
		text-align: left;
	}
}

.MAContactImgWrap {
	text-align: center;
	display: flex;
	flex-direction: column;
	margin: auto 0;
	padding: 1rem 0;
}

@media (max-width: 1345px) {
	.MAContactLinkMargin {
		margin-left: 20px;
	}

	.MAContactPadding {
		padding-left: 15px !important;
		padding-right: 15px !important;
	}
}

@media (min-width: 1200px) {
	.MAContactImgMargin {
		margin-top: 50px;
	}
}

@media (max-width: 760px) {
	.MAContactImgMargin {
		width: 80%;
	}
}

/* =============================================
   Images & CTA Buttons
   ============================================= */
.MAImgCenter {
	text-align: center;
	margin: 20px 0;
}

.MAImgCenter img {
	max-width: 100%;
	height: auto;
	border-radius: 5px;
}

.MACTACenter {
	text-align: center;
	padding: 20px 0;
}

.MACTACenter .btn {
	font-size: 1rem;
	padding: 12px 24px;
	display: inline-block;
}

/* =============================================
   Comparison Table
   ============================================= */
.MATableWrap {
	overflow-x: auto;
	margin: 20px 0;
}

.MATable {
	width: 100%;
	border-collapse: collapse;
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
}

.MATable th {
	background-color: #ad0109;
	color: #fff;
	font-weight: 600;
	padding: 12px 10px;
	text-align: left;
	white-space: nowrap;
}

.MATable td {
	padding: 10px;
	border-bottom: 1px solid #ddd;
	vertical-align: top;
}

.MATable tbody tr:hover {
	background-color: #f5f5f5;
}

.MATable td:first-child {
	white-space: nowrap;
	font-weight: 600;
}

@media (max-width: 760px) {
	.MATable {
		font-size: 12px;
	}
	.MATable th,
	.MATable td {
		padding: 8px 6px;
	}
}

/* =============================================
   FAQ Accordion
   ============================================= */
.accordion.faq-grid {
    margin-top: 20px;
}

.accordion-item.faq-item {
    margin-bottom: 15px;
    border: 1px solid #ffffff;
    border-radius: 8px;
    overflow: hidden;
	background-color: #ffffff;
}

.accordion-button.faq-question {
    width: 100%;
    padding: 15px 20px;
    background-color: #ffffff;
    border: none;
    text-align: left;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
    color: inherit;
}

.accordion-button.faq-question:not(.collapsed) {
    background-color: #ffffff;
    color: inherit;
    box-shadow: none;
}

.accordion-button.faq-question::after {
    display: none; /* Hide Bootstrap default arrow */
}

.accordion-button.faq-question span[itemprop="name"] {
    flex-grow: 1;
    padding-right: 10px;
}

.faq-arrow {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    right: 10px !important;
}

.accordion-button:not(.collapsed) .faq-arrow {
    transform: rotate(180deg);
}

.accordion-body.faq-answer-content {
    padding: 20px;
	padding-top: 0px;
}

.accordion-body.faq-answer-content p {
    margin: 0;
    line-height: 1.6;
    font-size: 14px !important;
    font-weight: 400 !important;
}

/* Layout for categories side by side */
.faq-categories-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    row-gap: 50px;
    margin-top: 20px;
    font-family: 'Poppins', sans-serif !important;
}

.faq-category {
    flex: 1 1 calc(50% - 15px);
    min-width: 300px;
}

.faq-category h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

@media (max-width: 768px) {
    .faq-category {
        flex: 1 1 100%;
    }
}

/* =============================================
   Interactive Quiz
   ============================================= */
.quiz-step {
	display: none;
}

.quiz-step.active {
	display: block;
}

.quiz-options {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 20px 0;
}

.quiz-option {
	font-family: 'Poppins', sans-serif;
	font-size: 15px;
	font-weight: 500;
	padding: 14px 24px;
	border: 2px solid #ddd;
	border-radius: 5px;
	background: #fff;
	cursor: pointer;
	transition: all 0.2s ease;
}

.quiz-option:hover {
	border-color: #ad0109;
	background: #fdf2f2;
}

.quiz-option.selected {
	border-color: #ad0109;
	background: #ad0109;
	color: #fff;
}

#quizResult {
	margin-top: 20px;
	padding: 25px;
	border: 2px solid #ad0109;
	border-radius: 5px;
	background: #fdf2f2;
}

#quizResult h3 {
	color: #ad0109 !important;
	margin-bottom: 5px;
}

.quiz-actions {
	display: flex;
	gap: 10px;
	margin-top: 15px;
	flex-wrap: wrap;
}

.quiz-btn,
#quizRestart {
	font-family: 'Poppins', sans-serif;
	font-size: 1rem;
	padding: 12px 24px;
	border: 2px solid #ad0109;
	border-radius: 3px;
	cursor: pointer;
	font-weight: 600;
	transition: all 0.2s ease;
	text-decoration: none;
	display: inline-block;
}

.quiz-btn {
	background: #ad0109;
	color: #fff !important;
}

.quiz-btn:hover {
	background: #8a030a;
	border-color: #8a030a;
	color: #fff;
}

#MATemplate #quizRestart {
	background: #fff !important;
	color: #ad0109 !important;
}

#MATemplate #quizRestart:hover {
	background: #ffffffbb !important;
	color: #000000 !important;
}

@media (max-width: 760px) {
	.quiz-options {
		flex-direction: column;
	}
	.quiz-option {
		font-size: 14px;
		padding: 12px 18px;
	}
}
