/* Sistem de votare pentru articole de blog */
.blog_vote_section {
	margin: 40px 0;
	padding: 30px;
	background-color: #f8f9fa;
	border-radius: 8px;
	text-align: center;
	border: 1px solid #e9ecef;
}

.blog_vote_question h3 {
	margin: 0 0 25px 0;
	font-size: 22px;
	font-weight: 600;
	color: #333;
}

.blog_vote_buttons {
	display: flex;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
}

.blog_vote_btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 35px;
	font-size: 18px;
	font-weight: 500;
	border: 2px solid #ddd;
	border-radius: 50px;
	background-color: #fff;
	color: #555;
	cursor: pointer;
	transition: all 0.3s ease;
	outline: none;
}

.blog_vote_btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.blog_vote_btn i {
	font-size: 24px;
}

.blog_vote_like:hover,
.blog_vote_like.voted {
	background-color: #28a745;
	border-color: #28a745;
	color: #fff;
}

.blog_vote_dislike:hover,
.blog_vote_dislike.voted {
	background-color: #dc3545;
	border-color: #dc3545;
	color: #fff;
}

.blog_vote_btn.processing {
	opacity: 0.6;
	cursor: not-allowed;
}

.blog_vote_message {
	margin-top: 20px;
	font-size: 18px;
	font-weight: 500;
}

.blog_vote_message .vote-success {
	color: #28a745;
	margin: 0;
    text-align: center !important;
}

.blog_vote_message .vote-error {
	color: #dc3545;
	margin: 0;
}

/* ====== FAQ minimal styles ====== */
.faq-section {
  display: block;
  width: 100%;             /* ocupă întreaga lățime a containerului părinte */
  box-sizing: border-box;  /* padding + border incluse în width */
  margin-top: 1.5rem;
  padding: 1.5rem;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fafafa;
}

.faq-section h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #111;
  font-weight: 600;
}

.faq-section h4 {
    font-size: 17px;
    font-weight: bold;
    color: #0073aa;
    margin-bottom: 0;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.faq-item {
  width: 100%;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.75rem;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}

.faq-question:hover {
  color: #0073aa;
}
.q_and_a_h2 {
    font-size: 19px;
}

.q_and_a_h3 {
    font-size: 16px !important;
    margin-bottom: 0 !important;
}

.faq-q-text {
  flex: 1;
  padding-right: 0.75rem;
}

.faq-answer {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

.faq-answer[hidden] {
  display: none;
}

.faq-icon::before {
  content: "+";                 /* implicit închis */
  font-size: 1.2rem;
  font-weight: bold;
  color: #888;
  transition: transform 0.2s, color 0.2s;
}

.faq-question[aria-expanded="true"] .faq-icon::before {
  content: "−";                 /* simbol minus când e deschis */
  color: #0073aa;
}

.prod_q_and_a .faq-section {
    border: 0;
    background: transparent;
    padding: 0;
    /* width: fit-content; */
}

.prod_q_and_a .faq-item {
    border: 0;
    padding: 0;
}

#form_profile .form-group{
    height: auto !important;
}
.faq-item ul {
    margin-left: 19px;
}
.faq-item p {
    margin: 0;
}

.q_and_a_h2 {
    margin-top: 0 !important;
    margin-bottom: 7px !important;
}

/* Author Info Section */
.author_info_section {
	display: flex;
	gap: 25px;
	margin: 40px 0;
	padding: 30px;
	background-color: #f8f9fa;
	border-radius: 8px;
	border: 1px solid #e9ecef;
	align-items: flex-start;
}

.author_info_left {
	flex-shrink: 0;
}

.author_photo {
	/* width: 120px;
	height: 147px;
	overflow: hidden;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
}

.author_photo a {
	display: block;
	width: 100%;
	height: 100%;
}

.author_photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.author_info_right {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.author_name {
	font-size: 20px;
	font-weight: 600;
}

.author_name a {
	color: #0073aa;
	text-decoration: none;
	transition: color 0.2s;
}

.author_name a:hover {
	color: #005a87;
	text-decoration: underline;
}

.author_intro {
	font-size: 16px;
	line-height: 1.6;
	color: #555;
}

.author_intro p {
	margin: 0 0 15px 0;
}

.author_intro p:last-child {
	margin-bottom: 0;
}

/* Responsive design */
@media (max-width: 768px) {
	.blog_vote_section {
		padding: 20px;
		margin: 30px 0;
	}
	
	.blog_vote_question h3 {
		font-size: 18px;
		margin-bottom: 20px;
	}
	
	.blog_vote_buttons {
		gap: 15px;
	}
	
	.blog_vote_btn {
		padding: 12px 25px;
		font-size: 16px;
	}
	
	.blog_vote_btn i {
		font-size: 20px;
	}
	
	/* Author info mobile */
	.author_info_section {
		flex-direction: column;
		gap: 20px;
		padding: 20px;
		margin: 30px 0;
	}
	
	.author_photo {
		width: 100px;
		height: 100px;
	}
	
	.author_info_right {
		gap: 12px;
	}
	
	.author_name {
		font-size: 18px;
	}
	
	.author_intro {
		font-size: 15px;
	}
}
