/* Change styling of standart Gutenberg editor block: Details */
.wp-block-details {
    max-width: 1055px;
    margin: 0px auto;
    border-bottom: 1px solid #D5D7D9;
    padding: 20px 0px;
}

.wp-block-details summary {
  cursor: pointer;
  font-size: 20px;
  position: relative;
  list-style: none;
  color: #004170;
  padding: 0px 50px 0px 0px;
}

.wp-block-details summary::-webkit-details-marker {
  display: none;
}

.wp-block-details summary::after {
  content: "";
  position: absolute;
  right: 0px;
  top: 50%;
  width: 46px;
  height: 46px;
  transform: translateY(-50%);
  background-color: #F3F6F8;
  border-radius: 50%;
  z-index: 1;
  transition: all 0.3s ease;
}

.wp-block-details summary::before {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
  background-color: #004170; 
  z-index: 2;
  -webkit-mask-image: url("../../images/ic_close.svg");
  mask-image: url("../../images/ic_close.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  transition: all 0.3s ease;
}

.wp-block-details summary:hover::after {
    border: 1px solid #004170;
}

.wp-block-details[open] summary {
    font-family: 'Roboto-Medium';
    font-weight: 500;
}

.wp-block-details[open] summary::after {
    background-color: #004170;
}

.wp-block-details[open] summary::before {
    transform: translateY(-50%) rotate(45deg);
    background-color: #fff;
}

/* Additional styles for FAQ page*/
.faq-title {
	font-size: 54px;
	color: #004170;
	text-align: center;
	margin: 0px 20px 30px 20px;
}

.faq-tabs {
    display: flex;
	gap: 10px;
	justify-content: center;
    background: #fff;
	overflow-y: auto;
	-ms-overflow-style: none;
	scrollbar-width: none;
}
  
.faq-tabs::-webkit-scrollbar { 
    display: none;
}

.faq-tab {
	display: flex;
	align-items: center;
    padding: 12px 30px;
    cursor: pointer;
    z-index: 1;
    position: relative;
    border-radius: 50px;
    color: #004170;
	background-color: #F3F6F8;
    transition: all 0.3s;
	border: 1px solid #F3F6F8;
	font-size: 14px;
}

.faq-tab:not(.active):hover {
	border: 1px solid #004170;
}

.faq-tab.active {
    background-color: #004170;
	color: #fff;
}

.faq-block {
    border: none;
    margin: 30px auto;
    max-width: 1055px;
}

.faq-item {
    border-bottom: 1px solid #D5D7D9;
    padding: 12px 0;
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question {
    font-size: 20px;
    margin: 0;
    color: #004170;
}

.faq-icon-container {
    border-radius: 100%;
    background-color: #F3F6F8;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 46px;
    height: 46px;
    margin-left: 10px;
}

.faq-icon-container:hover {
    border: 1px solid #004170;
}

.faq-icon {
    width: 24px;
    height: 24px;
    background-color: #004170;
    -webkit-mask-image: url(../../images/ic_close.svg);
    mask-image: url(../../images/ic_close.svg);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    transition: all 0.3s ease;
}

.faq-item.open .faq-question {
    font-family: 'Roboto-Medium';
}

.faq-item.open .faq-icon-container {
    background-color: #004170;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background-color: #fff;
}

.faq-answer {
    display: none;
    padding: 0;
}

.faq-item.open .faq-answer {
    display: block;
    padding: 24px 0 30px 0;
}

@media only screen and (max-width: 768px) {
	.faq-title {
		font-size: 28px;
		color: #004170;
		text-align: center;
	}

	.faq-tabs {
		justify-content: unset;
	}
}