.ara-random-articles {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
padding: 25px;
border-radius: 8px;
margin-bottom: 40px;
box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}
.ara-random-title {
color: #fff;
font-size: 18px;
margin-bottom: 15px;
padding-left: 10px;
border-left: 4px solid #ffd700;
font-weight: 600;
}
.ara-random-list {
display: flex;
flex-direction: column;
gap: 10px;
}
.ara-random-item {
background: rgba(255, 255, 255, 0.95);
padding: 12px 15px;
border-radius: 6px;
transition: all 0.3s ease;
cursor: pointer;
display: flex;
align-items: center;
gap: 10px;
}
.ara-random-item:hover {
background: #fff;
transform: translateX(5px);
box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.ara-random-item::before {
content: "";
width: 6px;
height: 6px;
background: #667eea;
border-radius: 50%;
flex-shrink: 0;
}
.ara-random-item a {
color: #333;
text-decoration: none;
font-weight: 500;
flex: 1;
font-size: 14px;
} .ara-related-articles {
margin-top: 50px;
padding-top: 30px;
border-top: 3px solid #667eea;
}
.ara-related-title {
font-size: 22px;
color: #2c3e50;
margin-bottom: 25px;
text-align: center;
position: relative;
padding-bottom: 15px;
font-weight: 600;
}
.ara-related-title::after {
content: "";
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 60px;
height: 3px;
background: linear-gradient(90deg, #667eea, #764ba2);
}
.ara-related-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
margin-bottom: 25px;
}
.ara-related-item {
background: #fff;
border: 1px solid #e0e0e0;
border-radius: 8px;
overflow: hidden;
transition: all 0.3s ease;
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.ara-related-item:hover {
border-color: #667eea;
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
transform: translateY(-2px);
}
.ara-related-thumbnail {
width: 100%;
height: 160px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
background-size: cover;
background-position: center;
position: relative;
overflow: hidden;
}
.ara-related-thumbnail:not([style*="background-image"])::before {
content: "";
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 60px;
height: 60px;
background: rgba(255, 255, 255, 0.2);
border-radius: 50%;
}
.ara-related-thumbnail:not([style*="background-image"])::after {
content: "";
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 30px;
height: 30px;
background: rgba(255, 255, 255, 0.3);
border-radius: 50%;
}
.ara-related-content {
padding: 15px;
}
.ara-related-content a {
color: #2c3e50;
text-decoration: none;
font-weight: 500;
display: block;
font-size: 14px;
line-height: 1.6;
cursor: pointer;
}
.ara-related-item:hover .ara-related-content a {
color: #667eea;
} .ara-load-more-wrap {
text-align: center;
margin-top: 20px;
}
.ara-load-more-btn {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: #fff;
border: none;
padding: 15px 50px;
border-radius: 50px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
position: relative;
overflow: hidden;
}
.ara-load-more-btn::before {
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.6s, height 0.6s;
}
.ara-load-more-btn:hover::before {
width: 300px;
height: 300px;
}
.ara-load-more-btn:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}
.ara-load-more-btn:active {
transform: translateY(0);
}
.ara-load-more-btn span {
position: relative;
z-index: 1;
} .ara-load-more-btn.loading {
pointer-events: none;
opacity: 0.7;
}
.ara-load-more-btn.loading span::after {
content: "";
display: inline-block;
width: 12px;
height: 12px;
margin-left: 8px;
border: 2px solid #fff;
border-radius: 50%;
border-top-color: transparent;
animation: ara-spin 0.6s linear infinite;
}
@keyframes ara-spin {
to { transform: rotate(360deg); }
} @media (max-width: 768px) {
.ara-related-grid {
grid-template-columns: 1fr;
gap: 15px;
}
.ara-related-thumbnail {
height: 180px;
}
.ara-random-articles {
padding: 20px 15px;
}
.ara-random-title {
font-size: 16px;
}
.ara-random-item {
padding: 10px 12px;
}
.ara-random-item a {
font-size: 13px;
}
.ara-related-title {
font-size: 18px;
}
.ara-related-content a {
font-size: 13px;
}
.ara-load-more-btn {
padding: 12px 40px;
font-size: 14px;
width: 100%;
max-width: 300px;
}
}
@media (max-width: 480px) {
.ara-related-thumbnail {
height: 160px;
}
}