.efsc-font-controls {
position: absolute;
top: 20px;
right: 20px;
z-index: 1000;
display: flex;
align-items: center;
gap: 12px;
background: rgba(255, 255, 255, 0.95);
padding: 12px 18px;
border-radius: 50px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(10px);
border: 1px solid rgba(44, 62, 80, 0.1);
animation: efscFadeIn 0.3s ease-out;
}
@keyframes efscFadeIn {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.efsc-label {
font-size: 14px;
font-weight: 500;
color: #2c3e50;
letter-spacing: 0.5px;
white-space: nowrap;
}
.efsc-buttons {
display: flex;
gap: 8px;
align-items: center;
}
.efsc-btn {
width: 42px;
height: 42px;
border: none;
border-radius: 50%;
background: #2c3e50;
color: white;
font-size: 20px;
font-weight: 300;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 2px 8px rgba(44, 62, 80, 0.2);
position: relative;
overflow: hidden;
}
.efsc-btn:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(44, 62, 80, 0.3);
}
.efsc-btn:active {
transform: translateY(0);
box-shadow: 0 2px 4px rgba(44, 62, 80, 0.2);
}
.efsc-btn:disabled {
opacity: 0.4;
cursor: not-allowed;
transform: none;
box-shadow: 0 2px 4px rgba(44, 62, 80, 0.1);
}
.efsc-btn::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 0;
height: 0;
border-radius: 50%;
background: rgba(255, 255, 255, 0.2);
transform: translate(-50%, -50%);
transition: width 0.3s, height 0.3s;
}
.efsc-btn:active::after {
width: 100%;
height: 100%;
}
.efsc-icon {
line-height: 1;
font-weight: 300;
position: relative;
top: -1px;
}
.efsc-reset-icon {
font-size: 16px;
font-weight: 600;
}
.efsc-decrease .efsc-icon {
font-size: 24px;
}
.efsc-increase .efsc-icon {
font-size: 20px;
} @media (max-width: 768px) {
.efsc-font-controls {
position: fixed;
bottom: 20px;
top: auto;
left: 50%;
right: auto;
transform: translateX(-50%);
border-radius: 40px;
padding: 10px 16px;
}
.efsc-btn {
width: 48px;
height: 48px;
}
} .single-post .entry-content,
.single-post .post-content {
position: relative !important;
padding-top: 60px !important;
}
.single-post .wp-post-image + .efsc-font-controls {
margin-top: 20px;
position: relative;
top: 0;
right: 0;
margin-bottom: 30px;
justify-content: flex-end;
}