/**
 * Rejsebrev Widget Styles
 *
 * @package Rejsebrev_Widget
 */

.rejsebrev-widget-container {
	width: 100%;
}

/* Tab Navigation */
.rejsebrev-widget-tabs {
	display: flex;
	margin-bottom: 0;
	padding: 0;
	border-bottom: none;
}

.rejsebrev-tab-button {
	flex: 1;
	padding: 12px 16px;
	margin: 0;
	border: none;
	background-color: #e0e0e0;
	color: #666;
	font-size: 14px;
	font-weight: normal;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s;
	text-align: center;
}

.rejsebrev-tab-button:first-child {
	border-top-left-radius: 0;
}

.rejsebrev-tab-button:last-child {
	border-top-right-radius: 0;
}

.rejsebrev-tab-button:hover {
	background-color: #d0d0d0;
}

.rejsebrev-tab-button.active {
	background-color: #4a4a4a;
	color: #ffffff;
	font-weight: normal;
}

.rejsebrev-tab-button.active:hover {
	background-color: #3a3a3a;
}

/* Tab Content */
.rejsebrev-widget-content {
	background-color: #ffffff;
}

.rejsebrev-tab-content {
	display: none;
	padding: 0;
}

.rejsebrev-tab-content.active {
	display: block;
}

/* Posts List */
.rejsebrev-posts-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rejsebrev-post-item {
	display: flex;
	padding: 15px 0;
	border-bottom: 1px solid #e0e0e0;
	align-items: flex-start;
}

.rejsebrev-post-item:last-child {
	border-bottom: none;
}

/* Thumbnail */
.rejsebrev-post-thumbnail {
	flex-shrink: 0;
	margin-right: 15px;
	width: 80px;
	height: 80px;
	overflow: hidden;
}

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

.rejsebrev-post-thumbnail a {
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
}

/* Post Content */
.rejsebrev-post-content {
	flex: 1;
	min-width: 0;
}

.rejsebrev-post-title {
	margin: 0 0 5px 0;
	padding: 0;
	font-size: 12px;
	font-weight: normal;
	line-height: 16px;
}

.rejsebrev-post-title a {
	color: #069;
	text-decoration: none;
	transition: color 0.2s;
}

.rejsebrev-post-title a:hover {
	color: #0052a3;
	text-decoration: underline;
}

.rejsebrev-post-date {
	margin: 0;
	padding: 0;
	font-size: 10px;
	color: #999;
	line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
	.rejsebrev-post-thumbnail {
		width: 60px;
		height: 60px;
		margin-right: 12px;
	}
	
	.rejsebrev-post-title {
		font-size: 12px;
	}
	
	.rejsebrev-post-date {
		font-size: 10px;
	}
	
	.rejsebrev-tab-button {
		padding: 10px 12px;
		font-size: 13px;
	}
}

