.tiptapEditor{
    font-size:16px;
    line-height:1.7;
}

.tiptapEditor p{
    margin-bottom:1rem;
}

.tiptapEditor h1{
    font-size:32px;
    font-weight:700;
    margin-bottom:1rem;
}

.tiptapEditor h2{
    font-size:26px;
    font-weight:600;
    margin-bottom:.8rem;
}
.tiptapEditor blockquote {
    position: relative;
    border-left: 5px solid #0dcaf0;
    background: #f8fbff;
    padding: 20px 20px 20px 25px;
    margin: 1.5rem 0;
    font-style: italic;
    color: #444;
    border-radius: 8px;
}

.tiptapEditor blockquote::before {
    content: "“";
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 40px;
    color: #0dcaf0;
}

.tiptapEditor ul,
.tiptapEditor ol{
    padding-left:1.5rem;
    margin-bottom:1rem;
}

.tiptapEditor li{
    margin-bottom:.4rem;
}
.tiptapEditor a{
    color: #0a4ebd;
}
.tiptapEditor a:hover{
    color: #0dcaf0;
    text-decoration: underline;
}

.tiptapEditor strong{
    font-weight:600;
}

.tiptapEditor mark{
    background:#fff3a0;
    padding:2px 4px;
}

.tiptapEditor .color{
    color:var(--color);
}

.dark .tiptapEditor .color {
    color: var(--dark-color);
}
.tiptapEditor .grid-layout{
    display:flex;
    flex-wrap:wrap;
    gap:25px;
}

.tiptapEditor .grid-layout[data-cols="2"] .grid-layout-col{
    width:calc(50% - 13px);
}

.tiptapEditor .grid-layout-col{
    background:#0dcaf0;
    color: white;
    font-weight: 600;
    padding:30px;
    border-radius:12px;
    border:1px solid #e6e6e6;
    box-shadow:0 4px 18px rgba(0,0,0,0.05);
    transition:all .3s ease;
}

/* Hover effect */
.tiptapEditor .grid-layout-col:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 30px rgba(0,0,0,0.12);
}

/* Heading */
.tiptapEditor .grid-layout-col h3{
    font-size:22px;
    margin-bottom:15px;
}

/* List styling */
.tiptapEditor .grid-layout-col p{
    margin-bottom:8px;
    position:relative;
    padding-left:25px;
}

/* Custom bullet icon */
.tiptapEditor .grid-layout-col p::before{
    content:"✅";
    position:absolute;
    left:0;
}

/* Responsive */
@media (max-width:992px){
    .tiptapEditor .grid-layout[data-from-breakpoint="lg"] .grid-layout-col{
        width:100%;
    }
}

/* ONLY target paragraphs that contain images */
.tiptapEditor .grid-layout-col p:has(img){
    padding-left: 0 !important;
    margin: 0 !important;
}

/* Remove tick ONLY for image containers */
.tiptapEditor .grid-layout-col p:has(img)::before{
    content: none !important;
}

/* Keep normal text styling intact */
.tiptapEditor .grid-layout-col p:not(:has(img)){
    padding-left: 25px;
    margin-bottom: 8px;
}

/* Keep tick for text only */
.tiptapEditor .grid-layout-col p:not(:has(img))::before{
    content: "✅";
}

/* Image styling */
.tiptapEditor .grid-layout-col img{
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

