/* =========================================
ROOT
========================================= */

:root{
--primary: #EC4899;
--primary-dark: #DB2777;
--secondary: #F59E0B;
--white: #FFFFFF;
--text: #555;
--light: #FFF8F3;
--border: #E2E8F0;
}
/* =========================================
BANNER
========================================= */

.rce-paper-banner{
padding:120px 0;
background:
linear-gradient(
135deg,
#EC4899,
#8B5CF6,
#16A34A
);
position:relative;
overflow:hidden;
}

.rce-paper-banner::before{
content:"";
position:absolute;
width:450px;
height:450px;
border-radius:50%;
background:rgba(255,255,255,.05);
top:-200px;
right:-100px;
}

/* =========================================
SECTION
========================================= */

.rce-paper-section{
padding:20px 0;
background:var(--light);
}

/* =========================================
SUBJECT GRID
========================================= */

.rce-subject-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:25px;
padding:35px;
}

/* =========================================
SUBJECT CARD
========================================= */

.rce-subject-card{
background:#fff;
border:1px solid var(--border);
border-radius:18px;
padding:25px;
transition:.35s;
}

.rce-subject-card:hover{
transform:translateY(-5px);
box-shadow:0 15px 35px rgba(0,0,0,.08);
}

.rce-subject-card h4{
color:var(--primary);
font-size:20px;
margin-bottom:18px;
line-height:1.5;
}

/* =========================================
YEAR BUTTONS
========================================= */

.rce-year-links{
display:flex;
flex-wrap:wrap;
gap:10px;
}

.rce-year-links a{
min-width:70px;
text-align:center;
text-decoration:none;
background:var(--orange-gradient);
color:#fff;
padding:10px 14px;
border-radius:8px;
font-weight:600;
transition:.3s;
}

.rce-year-links a:hover{
background:var(--primary);
color:#fff;
}

/* =========================================
TABLET
========================================= */

@media(max-width:1200px){

  
.rce-subject-grid{
    grid-template-columns:repeat(2,1fr);
}
  

}

/* =========================================
MOBILE
========================================= */

@media(max-width:768px){

  
.rce-paper-banner{
    padding:80px 0;
}

.rce-semester-header{
    padding:20px;
}

.rce-semester-header h3{
    font-size:24px;
}

.rce-subject-grid{
    grid-template-columns:1fr;
    padding:20px;
}

.rce-subject-card{
    padding:20px;
}

.rce-year-links a{
    flex:1 1 calc(50% - 10px);
}
  

}

/* =========================================
SMALL MOBILE
========================================= */

@media(max-width:480px){

  
.rce-year-links a{
    width:100%;
    flex:none;
}
  

}