@import url('https://fonts.googleapis.com/css2?family=Amaranth:wght@700&display=swap');

.gjg-custom-wrapper .gjg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.gjg-custom-wrapper .gjg-item {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 14px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.08), 0 0 5px rgba(0,0,0,0.02) inset;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}
.gjg-custom-wrapper .gjg-item:hover {
    transform: translateY(-10px) rotateX(1deg) rotateY(1deg);
    box-shadow: 0 18px 28px rgba(0,0,0,0.18), 0 0 10px rgba(0,0,0,0.05) inset;
}
.gjg-custom-wrapper .gjg-title {
    font-family: 'Amaranth', sans-serif !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #e63946 !important;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
.gjg-custom-wrapper .gjg-title a {
    color: inherit !important;
    text-decoration: none !important;
}
.gjg-custom-wrapper .gjg-title a:hover {
    color: #000 !important;
    text-shadow: 0 2px 4px rgba(230,57,70,0.4);
}
.gjg-custom-wrapper .gjg-excerpt {
    font-size: 16px !important;
    color: #000 !important;
    margin-bottom: 20px;
    line-height: 1.6;
}
.gjg-custom-wrapper .gjg-readmore {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 8px 20px !important;
    background: #e63946 !important;
    color: #fff !important;
    font-weight: 700 !important;
    border-radius: 40px !important;
    text-decoration: none !important;
    font-size: 14px !important;
    box-shadow: 0 3px 10px rgba(230,57,70,0.4) !important;
    transition: all 0.3s ease, box-shadow 0.3s ease;
}
.gjg-custom-wrapper .gjg-readmore::after {
    content: '→';
    display: inline-block;
    transition: transform 0.3s ease;
}
.gjg-custom-wrapper .gjg-readmore:hover::after {
    transform: translateX(5px);
}
.gjg-custom-wrapper .gjg-readmore:hover {
    background: #ff4b5c !important;
    transform: scale(1.05) !important;
    box-shadow: 0 5px 15px rgba(230,57,70,0.7), 0 0 8px #ff4b5c !important;
}
.gjg-custom-wrapper .gjg-pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
    flex-wrap: wrap;
}
.gjg-custom-wrapper .gjg-pagination a, .gjg-custom-wrapper .gjg-pagination span {
    display: inline-block;
    padding: 10px 16px;
    background: #e63946 !important;
    color: #fff !important;
    font-weight: 600 !important;
    border-radius: 6px;
    text-decoration: none !important;
    transition: all 0.3s ease, box-shadow 0.3s ease;
}
.gjg-custom-wrapper .gjg-pagination a:hover {
    background:#ff4b5c !important; 
    box-shadow:0 0 8px #ff4b5c !important;
}
.gjg-custom-wrapper .gjg-pagination .current {
    background:#c1121f !important; color:#fff !important;
}
@media(max-width:1024px){ .gjg-custom-wrapper .gjg-grid{ grid-template-columns: repeat(2,1fr); } }
@media(max-width:768px){ 
    .gjg-custom-wrapper .gjg-grid{ grid-template-columns: 1fr; } 
    .gjg-custom-wrapper .gjg-title{ font-size:22px !important; } 
    .gjg-custom-wrapper .gjg-excerpt{ font-size:15px !important; } 
    .gjg-custom-wrapper .gjg-readmore{ font-size:14px !important; padding:10px 25px !important; } 
}
