/*==================================================
        RECENT ACTIVITIES
        PART 1
        Section • Background • Layout • Heading
==================================================*/

/***********************
MAIN SECTION
************************/

.recent-act{
    position:relative;
    overflow:hidden;
    padding:70px 25px;
    background:
    radial-gradient(circle at top left,#fff8ec 0%,transparent 32%),
    radial-gradient(circle at bottom right,#fff0cc 0%,transparent 28%),
    linear-gradient(180deg,#ffffff,#fffdf7);
}

/* Floating Light */

.recent-act::before{
    content:"";
    position:absolute;
    width:380px;
    height:380px;
    top:-170px;
    right:-140px;
    border-radius:50%;
    background:rgba(255,170,30,.12);
    filter:blur(70px);
}

.recent-act::after{
    content:"";
    position:absolute;
    width:280px;
    height:280px;
    bottom:-120px;
    left:-100px;
    border-radius:50%;
    background:rgba(255,215,90,.18);
    filter:blur(60px);
}

/************************
WORDPRESS COLUMNS
************************/

.recent-act .wp-block-columns{

    display:flex;
    gap:35px;
    align-items:flex-start;
    position:relative;
    z-index:5;

}

.recent-act .wp-block-column{

    min-width:0;

}

/************************
MAIN HEADING
************************/

.recent-act h2{

    text-align:center;
    font-size:42px;
    font-weight:800;
    color:#2b2b2b;
    margin-bottom:65px;
    letter-spacing:.4px;
    line-height:1.2;
    position:relative;

}

/* Decorative Underline */

.recent-act h2::after{

    content:"";
    display:block;
    width:120px;
    height:6px;
    margin:18px auto 0;
    border-radius:50px;

    background:
    linear-gradient(
    90deg,
    #ff8c00,
    #ffbf00,
    #ffd84d);

    box-shadow:
    0 5px 18px rgba(255,170,0,.35);

}

/************************
H5
************************/

.recent-act h5{

    font-size:28px;
    color:#333;
    line-height:1.4;
    font-weight:700;
    margin-bottom:14px;
    transition:.35s;

}

.recent-act h5:hover{

    color:#ff8a00;

}

/************************
LEFT & RIGHT CARDS
************************/

.recent-t,
.recent-g{

    background:#ffffff;

    border-radius:28px;

    padding:28px;

    border:1px solid rgba(255,190,70,.20);

    box-shadow:

    0 12px 35px rgba(0,0,0,.06),

    0 4px 10px rgba(255,179,0,.10);

    transition:.4s ease;

    position:relative;

    overflow:hidden;

}

/* Golden top border */

.recent-t::before,
.recent-g::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:5px;

    background:

    linear-gradient(
    90deg,
    #ff8c00,
    #ffb400,
    #ffd54a);

}

/************************
HOVER
************************/

.recent-t:hover,
.recent-g:hover{

    transform:translateY(-8px);

    box-shadow:

    0 22px 45px rgba(0,0,0,.08),

    0 12px 25px rgba(255,170,0,.18);

}

/************************
RESPONSIVE
************************/

@media(max-width:991px){

.recent-act .wp-block-columns{

flex-direction:column;

}

}

@media(max-width:768px){

.recent-act{

padding:50px 18px;

}

.recent-act h2{

font-size:32px;

}

.recent-t,
.recent-g{

padding:22px;

border-radius:22px;

}

.recent-act h5{

font-size:22px;

}

}

/*==================================================
        RECENT ACTIVITIES
        PART 2
        Left Content (.recent-t)
==================================================*/

/*****************************************
POST GROUP
*****************************************/

.recent-t .wp-block-group{

    display:flex;
    align-items:flex-start;
    gap:24px;

    margin-bottom:35px;
    padding-bottom:30px;

    border-bottom:1px solid #ffe4a8;

    transition:.35s ease;

}

.recent-t .wp-block-group:last-child{

    margin-bottom:0;
    padding-bottom:0;
    border-bottom:none;

}

.recent-t .wp-block-group:hover{

    transform:translateX(6px);

}

/*****************************************
IMAGE CONTAINER
*****************************************/

.recent-t figure{

    margin:0;
    overflow:hidden;

    border-radius:22px;

    flex-shrink:0;

    position:relative;

    box-shadow:

    0 10px 25px rgba(0,0,0,.08),

    0 5px 12px rgba(255,170,0,.15);

}

/* Golden Shine */

.recent-t figure::after{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
    130deg,
    transparent 25%,
    rgba(255,255,255,.45),
    transparent 70%);

    transform:translateX(-120%);

    transition:.8s;

}

.recent-t figure:hover::after{

    transform:translateX(120%);

}

/*****************************************
IMAGE
*****************************************/

.recent-t img{

    width:240px;

    height:165px;

    object-fit:cover;

    display:block;

    transition:.45s;

}

.recent-t img:hover{

    transform:scale(1.08);

}

/*****************************************
TEXT
*****************************************/

.recent-t h5{

    margin-top:0;

}

.recent-t p{

    font-size:15px;

    color:#666;

    line-height:1.9;

    margin:14px 0;

}

/*****************************************
LINKS
*****************************************/

.recent-t a{

    color:#ff8a00;

    text-decoration:none;

    font-weight:700;

    transition:.3s;

}

.recent-t a:hover{

    color:#d96f00;

}

/*****************************************
BUTTONS
*****************************************/

.recent-t .wp-block-button__link,
.recent-t .wp-element-button{

    display:inline-block;

    padding:12px 24px;

    border-radius:40px;

    border:none;

    color:#fff;

    background:linear-gradient(
    135deg,
    #ff8a00,
    #ffb300,
    #ffc928);

    background-size:220% 220%;

    font-size:14px;

    font-weight:700;

    text-decoration:none;

    box-shadow:

    0 10px 22px rgba(255,165,0,.30);

    transition:.35s;

    animation:recentBtn 6s infinite ease;

}

.recent-t .wp-block-button__link:hover,
.recent-t .wp-element-button:hover{

    transform:translateY(-4px);

    box-shadow:

    0 16px 30px rgba(255,165,0,.35);

}

/*****************************************
BUTTON ANIMATION
*****************************************/

@keyframes recentBtn{

0%{

background-position:left;

}

50%{

background-position:right;

}

100%{

background-position:left;

}

}

/*****************************************
SMALL DECORATION LINE
*****************************************/

.recent-t h5::after{

    content:"";

    display:block;

    width:65px;

    height:4px;

    margin-top:10px;

    border-radius:20px;

    background:linear-gradient(
    90deg,
    #ff8c00,
    #ffd44d);

}

/*****************************************
MOBILE
*****************************************/

@media(max-width:991px){

.recent-t .wp-block-group{

    flex-direction:column;

}

.recent-t img{

    width:100%;

    height:auto;

}

}

@media(max-width:768px){

.recent-t .wp-block-group{

    gap:18px;

    margin-bottom:28px;

    padding-bottom:24px;

}

.recent-t p{

    font-size:14px;

}

.recent-t .wp-block-button__link,
.recent-t .wp-element-button{

    width:100%;

    text-align:center;

}

}
/*==================================================
        RECENT ACTIVITIES
        PART 3
        Right Gallery (.recent-g)
        Final Polish
==================================================*/

/*****************************************
GALLERY GRID
*****************************************/

.recent-g .wp-block-gallery{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:18px;

}

/*****************************************
FIGURE
*****************************************/

.recent-g figure{

    margin:0;

    position:relative;

    overflow:hidden;

    border-radius:18px;

    background:#fff;

    box-shadow:
    0 10px 24px rgba(0,0,0,.08),
    0 5px 12px rgba(255,174,0,.12);

    transition:.35s ease;

}

.recent-g figure:hover{

    transform:translateY(-6px);

    box-shadow:
    0 18px 34px rgba(0,0,0,.12),
    0 8px 18px rgba(255,170,0,.22);

}

/*****************************************
IMAGE
*****************************************/

.recent-g img{

    width:100%;

    aspect-ratio:1/1;

    object-fit:cover;

    display:block;

    transition:.45s;

}

.recent-g figure:hover img{

    transform:scale(1.10);

}

/*****************************************
GOLDEN OVERLAY
*****************************************/

.recent-g figure::after{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
    to top,
    rgba(255,145,0,.28),
    rgba(255,255,255,0));

    opacity:0;

    transition:.35s;

}

.recent-g figure:hover::after{

    opacity:1;

}

/*****************************************
OPTIONAL CAPTION
*****************************************/

.recent-g figcaption{

    position:absolute;

    left:0;

    right:0;

    bottom:0;

    padding:12px;

    color:#fff;

    font-size:14px;

    font-weight:600;

    background:linear-gradient(
    to top,
    rgba(0,0,0,.65),
    transparent);

    transform:translateY(100%);

    transition:.35s;

}

.recent-g figure:hover figcaption{

    transform:translateY(0);

}

/*****************************************
LISTS
*****************************************/

.recent-g ul{

    margin:0;

    padding:0;

    list-style:none;

}

.recent-g li{

    position:relative;

    padding:16px 18px 16px 48px;

    margin-bottom:15px;

    background:#fffaf2;

    border:1px solid #ffe7b2;

    border-radius:16px;

    color:#444;

    line-height:1.7;

    transition:.35s;

    box-shadow:
    0 6px 15px rgba(0,0,0,.04);

}

.recent-g li:hover{

    background:#fff4de;

    border-color:#ffc54d;

    transform:translateX(6px);

}

/*****************************************
CHECK ICON
*****************************************/

.recent-g li::before{

    content:"✓";

    position:absolute;

    left:16px;

    top:50%;

    transform:translateY(-50%);

    width:22px;

    height:22px;

    line-height:22px;

    text-align:center;

    border-radius:50%;

    background:linear-gradient(
    135deg,
    #ff9800,
    #ffd54d);

    color:#fff;

    font-size:12px;

    font-weight:700;

}

/*****************************************
LINKS
*****************************************/

.recent-g a{

    color:#ff8c00;

    text-decoration:none;

    font-weight:600;

    transition:.3s;

}

.recent-g a:hover{

    color:#d96d00;

}

/*****************************************
SMOOTH TRANSITIONS
*****************************************/

.recent-act *,
.recent-t *,
.recent-g *{

    transition:
    color .30s,
    background .30s,
    border-color .30s,
    transform .30s,
    box-shadow .30s;

}

/*****************************************
SCROLL ANIMATION READY
*****************************************/

.recent-t,
.recent-g{

    animation:recentFade .8s ease;

}

@keyframes recentFade{

    from{

        opacity:0;

        transform:translateY(25px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/*****************************************
TABLET
*****************************************/

@media(max-width:991px){

    .recent-g .wp-block-gallery{

        grid-template-columns:repeat(3,1fr);

    }

}

/*****************************************
MOBILE
*****************************************/

@media(max-width:768px){

    .recent-g .wp-block-gallery{

        grid-template-columns:repeat(2,1fr);

        gap:12px;

    }

    .recent-g li{

        padding:15px 16px 15px 44px;

        font-size:14px;

    }

    .recent-g figcaption{

        font-size:13px;

    }

}