<style>
.grammar-hero{
    background:linear-gradient(135deg,#f8fbff,#eef6ff);
    border:1px solid #dbeafe;
    border-radius:18px;
    padding:35px;
    margin:20px 0 30px;
    box-shadow:0 10px 25px rgba(0,0,0,0.05);
}

.grammar-hero h1{
    margin:0 0 20px;
    font-size:2.2rem;
    line-height:1.25;
    color:#0f172a;
    font-weight:800;
    padding-bottom:15px;
    border-bottom:4px solid #2563eb;
}

.hub-intro{
    font-size:1.05rem;
    line-height:1.9;
    color:#475569;
}

.hub-intro p:first-of-type{
    background:#fff;
    border-left:4px solid #2563eb;
    padding:15px 18px;
    border-radius:10px;
    font-weight:600;
    color:#1e293b;
}



.grammar-table-wrap{
    overflow-x:auto;
}

.grammar-table{
    width:100%;
    border-collapse:collapse;
    margin:20px 0;
}

.grammar-table th,
.grammar-table td{
    border:1px solid #e2e8f0;
    padding:12px;
    text-align:left;
}

.grammar-table th{
    background:#2563eb;
    color:#fff;
}

.grammar-concept{
    background:#f8fbff;
    border:1px solid #dbeafe;
    border-radius:16px;
    padding:30px;
    margin:35px 0;
    box-shadow:0 8px 20px rgba(0,0,0,0.05);
}

.grammar-concept h2{
    margin:0 0 20px;
    font-size:1.8rem;
    line-height:1.3;
    color:#0f172a;
    font-weight:700;
    position:relative;
    padding-bottom:12px;
}

.grammar-concept h2::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:70px;
    height:4px;
    background:#2563eb;
    border-radius:10px;
}

.grammar-concept p{
    margin:0 0 18px;
    font-size:1.05rem;
    line-height:1.9;
    color:#475569;
}

.grammar-concept p:last-child{
    margin-bottom:0;
}

.grammar-concept strong{
    color:#1e293b;
}

@media (max-width:768px){

    .grammar-concept{
        padding:22px;
    }

    .grammar-concept h2{
        font-size:1.45rem;
    }

}


.related-grammar-quizzes{
    margin:50px 0;
    padding:35px;
    background:#f8fafc;
    border:1px solid #e2e8f0;
    border-radius:18px;
}

.related-grammar-quizzes h2{
    margin:0 0 15px;
    font-size:1.9rem;
    color:#0f172a;
    position:relative;
    padding-bottom:12px;
}

.related-grammar-quizzes h2::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:80px;
    height:4px;
    background:#2563eb;
    border-radius:10px;
}

.related-intro{
    margin:0 0 25px;
    color:#64748b;
    line-height:1.8;
}

.related-quiz-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:20px;
}

.related-quiz-card{
    display:block;
    text-decoration:none;
    background:#fff;
    border:1px solid #e2e8f0;
    border-radius:14px;
    padding:22px;
    transition:all .3s ease;
}

.related-quiz-card:hover{
    transform:translateY(-4px);
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
    border-color:#2563eb;
}

.related-quiz-card h3{
    margin:0 0 10px;
    font-size:1.15rem;
    color:#1e293b;
}

.related-quiz-card p{
    margin:0;
    color:#64748b;
    line-height:1.7;
    font-size:.95rem;
}
.visible-breadcrumb{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:8px;
    margin:15px 0 20px;
    padding:12px 16px;
    background:#f8fafc;
    border:1px solid #e2e8f0;
    border-radius:10px;
    font-size:.95rem;
}

.visible-breadcrumb a{
    color:#2563eb;
    text-decoration:none;
    font-weight:500;
}

.visible-breadcrumb a:hover{
    text-decoration:underline;
}

.visible-breadcrumb span{
    color:#64748b;
}

.visible-breadcrumb .current-page{
    color:#1e293b;
    font-weight:600;
}

@media (max-width:768px){

    .visible-breadcrumb{
        font-size:.85rem;
        gap:6px;
        padding:10px 12px;
    }

}

</style>

