/***block buttons***/
/* The Base Button Style (Normal State) */
.editor-styles-wrapper .wp-block-button__link,
.wp-block-button__link {
    background-color: #c00000 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 6px 25px !important;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    border-radius: 80px;
    transition: background-color 0.2s ease-in-out; /* Makes the color change smooth */
}

/* The Interaction Styles (Hover/Focus State) */
.editor-styles-wrapper .wp-block-button__link:hover,
.editor-styles-wrapper .wp-block-button__link:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus {
    background-color: #a00000 !important; /* The darker red you chose */
    color: #ffffff !important;
    text-decoration: none !important;
    outline: none; 
}

/* 1. The Base Outline Style (Normal State) */
.editor-styles-wrapper .wp-block-button.is-style-outline .wp-block-button__link,
.wp-block-button.is-style-outline > .wp-block-button__link {
    background-color: transparent !important;
    color: #c00000 !important;
    border: 2px solid #c00000 !important; /* Thick red border */
    padding: 6px 25px !important;
    border-radius: 80px;
    transition: all 0.2s ease-in-out;
}

/* 2. The Outline Interaction (Hover/Focus State) */
.editor-styles-wrapper .wp-block-button.is-style-outline .wp-block-button__link:hover,
.editor-styles-wrapper .wp-block-button.is-style-outline .wp-block-button__link:focus,
.wp-block-button.is-style-outline > .wp-block-button__link:hover,
.wp-block-button.is-style-outline > .wp-block-button__link:focus {
    background-color: #c00000 !important; /* Fills with red on hover */
    color: #ffffff !important;           /* Text turns white */
    border-color: #c00000 !important;
    text-decoration: none !important;
}

.read-more-wrapper {
    text-align: end;
}
.read-more-button {
	display: inline-block;
	margin-top: 0.75rem;
	padding: 0.5rem 0.9rem;
	border-radius: 4px;
	text-decoration: none;
	font-weight: 600;
}

.entry-content .read-more-button,
.entry-summary .read-more-button {
	display: inline-block;
}




/* =========================================
   Accordion FAQ for Rank Math
   ========================================= */
.accordion-faq .rank-math-list-item {
	position: relative;
}

.accordion-faq .rank-math-list-item h3 {
	background: #f1f2f6;
	padding: 10px 12px 10px 18px;
	cursor: pointer;
	font-size: 18px !important;
	font-weight: normal !important;
	position: relative;
	margin-bottom: 0;
}

.accordion-faq .rank-math-list-item h3:before {
	display: inline-block;
	content: "";
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 6px 0 6px 12px;
	border-color: transparent transparent transparent #000000;
	margin-right: 8px;
	transition: transform 0.2s ease;
}

.accordion-faq .rank-math-answer {
	padding: 10px 10px 0px 10px;
	max-height: 0;
	overflow: hidden;
	transition: all 0.3s ease;
}

/* Open state */
.accordion-faq .rank-math-list-item.is-open .rank-math-answer {
	max-height: 100vh;
	overflow: visible;
}

.accordion-faq .rank-math-list-item.is-open h3:before {
	transform: rotate(90deg);
}