/**
 * Divi Read More Toggle - Minimal & Clean Styles
 *
 * @package Divi_Read_More
 */

/* CSS Variables for easy customization */
:root {
	--drm-btn-color: #555;
	--drm-btn-hover-color: #000;
	--drm-btn-font-size: 14px;
	--drm-btn-font-weight: 500;
	--drm-icon-size: 12px;
}

/* Content wrapper */
.drm-content-wrapper {
	position: relative;
}

.drm-content-wrapper.drm-collapsed {
	position: relative;
}

/* NO fade effect by default - clean cut */
/* Users can add their own if they want via custom CSS */

/* Toggle button - Minimal & Clean Design */
.drm-toggle-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 12px;
	padding: 0;
	background: none;
	border: none;
	color: var(--drm-btn-color);
	font-size: var(--drm-btn-font-size);
	font-weight: var(--drm-btn-font-weight);
	cursor: pointer;
	transition: color 0.2s ease;
	text-transform: none;
	letter-spacing: 0;
	line-height: 1.5;
	font-family: inherit;
}

.drm-toggle-btn:hover {
	color: var(--drm-btn-hover-color);
}

.drm-toggle-btn:focus {
	outline: 2px solid rgba(0, 0, 0, 0.1);
	outline-offset: 3px;
	border-radius: 2px;
}

/* Icon - Simple arrow */
.drm-toggle-btn .drm-icon {
	display: inline-block;
	font-size: var(--drm-icon-size);
	line-height: 1;
	transition: transform 0.2s ease;
	opacity: 0.7;
}

.drm-toggle-btn:hover .drm-icon {
	opacity: 1;
}

/* ========================================
   PRESET STYLES (add class to customize)
   ======================================== */

/* Style 1: Underline on hover */
.drm-toggle-btn.drm-style-underline {
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.drm-toggle-btn.drm-style-underline:hover {
	border-bottom-color: currentColor;
}

/* Style 2: With background */
.drm-toggle-btn.drm-style-bg {
	padding: 8px 16px;
	background-color: #f5f5f5;
	border-radius: 4px;
	color: #333;
}

.drm-toggle-btn.drm-style-bg:hover {
	background-color: #e0e0e0;
	color: #000;
}

/* Style 3: Bordered */
.drm-toggle-btn.drm-style-border {
	padding: 6px 14px;
	border: 1px solid #ddd;
	border-radius: 3px;
	color: #555;
}

.drm-toggle-btn.drm-style-border:hover {
	border-color: #999;
	background-color: #fafafa;
	color: #000;
}

/* Style 4: Primary color (Divi blue) */
.drm-toggle-btn.drm-style-primary {
	color: #2ea3f2;
	font-weight: 600;
}

.drm-toggle-btn.drm-style-primary:hover {
	color: #1a8ad1;
}

/* Style 5: Accent (add your theme color) */
.drm-toggle-btn.drm-style-accent {
	padding: 8px 18px;
	background-color: #2ea3f2;
	color: #ffffff;
	border-radius: 4px;
	font-weight: 600;
}

.drm-toggle-btn.drm-style-accent:hover {
	background-color: #1a8ad1;
}

/* ========================================
   EASY CUSTOMIZATION EXAMPLES
   Copy to Divi → Theme Options → Custom CSS
   ======================================== */

/*
Example 1: Change colors globally
:root {
	--drm-btn-color: #8B4513;
	--drm-btn-hover-color: #A0522D;
}

Example 2: Custom button style
.drm-toggle-btn {
	color: #ff6b6b;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

Example 3: Add arrow animation
.drm-toggle-btn:hover .drm-icon {
	transform: translateX(3px);
}

Example 4: Add background on hover
.drm-toggle-btn:hover {
	background-color: #f0f0f0;
	padding: 4px 8px;
	border-radius: 3px;
}

Example 5: Change icon
.drm-icon {
	display: none;
}
.drm-toggle-btn::after {
	content: "→";
	margin-left: 4px;
}
*/

/* Responsive */
@media (max-width: 767px) {
	.drm-toggle-btn {
		font-size: 13px;
	}

	.drm-toggle-btn .drm-icon {
		font-size: 11px;
	}
}
