/* ==========================
   BASE STYLES (DESKTOP FIRST)
   ========================== */

.editorial-title {
    max-width: 1200px;
    margin: auto;
   /* padding: 20px;*/
    font-family: "Noto Serif Telugu", "Poppins", sans-serif;
    line-height: 1.8;
}

/* Editor heading */
.editor-heading {
    text-align: center;
    margin-bottom: 10px;
}

.pen-icon {
    width: 90px;
    height: auto;
}

.editor-label {
    color: #FF6347;
    font-size: clamp(18px, 2.2vw, 26px);
    font-weight: bold;
}

/* Main image */
.editorial-image {
    float: left;
    width: 38%;
    max-width: 400px;
    margin: 0 20px 15px 0;
    border-radius: 8px;
}

/* Headline */
.editorial-headline {
    text-align: center;
    color: #D2691E;
    font-size: clamp(20px, 2.5vw, 30px);
    margin-bottom: 15px;
}

/* Body text */
.editorial-text {
    text-align: justify;
    font-size: clamp(15px, 1.6vw, 18px);
    color: #333;
}

/* Author name */
.editorial-text strong {
    font-size: clamp(14px, 1.5vw, 17px);
}

/* Clear float */
.editorial-text::after {
    content: "";
    display: block;
    clear: both;
}

/* ==========================
   TABLET VIEW (≤ 992px)
   ========================== */

@media (max-width: 992px) {
    .editorial-image {
        width: 45%;
    }
}

/* ==========================
   MOBILE VIEW (≤ 768px)
   ========================== */

@media (max-width: 768px) {

    .editorial-image {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 0 auto 15px;
        display: block;
    }

    .editorial-title {
        padding: 15px;
    }

    .editorial-text {
        font-size: 16px;
        line-height: 1.9;
    }
}

/* ==========================
   SMALL MOBILE (≤ 480px)
   ========================== */

@media (max-width: 480px) {

    .pen-icon {
        width: 60px;
    }

    .editor-label {
        font-size: 18px;
    }

    .editorial-headline {
        font-size: 20px;
    }

    .editorial-text {
        font-size: 15px;
    }
}
