.detail-container {
    height: 200vh;
    border: 1px solid red;
}


/* ===============================
   PAGE LAYOUT
================================ */

.section_main {
    /* background: #f7f8fa; */
    padding: 50px 0px;
    background-color: #eee;
    background-image: url("https://www.transparenttextures.com/patterns/ag-square.png");
    /* This is mostly intended for prototyping; please download the pattern and re-host for production environments. Thank you! */
}




.page-content {
    background: #fff;
    border-radius: 5px;
    padding: 24px;
    min-height: 400px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    border-top: 3px solid var(--site-color);
}

/* ===============================
   ASIDE BASE
================================ */

.main_aside {
    position: sticky;
    top: 90px;
}

.aside {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


/* =============================== */


.main__article h1 {
    text-transform: none;
    line-height: 45px;
    letter-spacing: .64px;
    font-weight: 600;
    font-style: normal;
    color: #222222;
    font-size: 32px;
    opacity: 1;
    visibility: visible;
    -webkit-transition: opacity .24s ease-in-out;
    -o-transition: opacity .24s ease-in-out;
    transition: opacity .24s ease-in-out;
    margin-bottom: 5px;
    /* margin-top: 20px; */
}

.main__article h2 {
    font-size: 25px;
    font-weight: 600;
    line-height: 36px;
    letter-spacing: .6px;
    color: #1f1f1f;
    margin-bottom: 5px;
    margin-top: 20px;
}


.main__article h3, .main__article h4, .main__article h5, .main__article h6 {
    font-size: 18px;
    font-weight: 600;
    line-height: 30px;
    letter-spacing: .6px;
    color: #1f1f1f;
    margin-bottom: 5px;
    margin-top: 20px;
}

.main__article p {
    font-size: 16px;
    /* font-weight: 500; */
    line-height: 30px;
    letter-spacing: .6px;
    color: #1f1f1f;
    margin: 5px 0px;
}

.main__article p b {
    font-weight: 700 !important;
}

.main__article p a {
    color: var(--site-color);
    text-decoration: underline;
    transition: all 0.3s ease;
}

.main__article p a:hover {
    color: var(--site-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog_views {
    position: absolute;
    width: 90%;
    transform: translateX(-50%);
    left: 50%;
    top: -25px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 10px 25px;
    background-color: #fff;
    border: 1.5px solid var(--site-color);
    /* margin-bottom: 15px; */
    border-radius: 5px;
}

.card__text {
    font-size: 14px;
    color: #555;
    font-weight: 500;
    display: flex;
    align-items: center;
    position: relative;
}

.card__calender::before {
    content: '\f073';
}

.card__calender::before,
.card__eye::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 8px;
    color: var(--site-color);
}

[data-title]:after {
    content: attr(data-title);
    position: absolute;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
    opacity: 0;
    visibility: hidden;
    z-index: 99;
    background-color: #fff;
    color: var(--date-color, #dc3545);
    font-size: 11px;
    padding: 3px 8px;
    bottom: 26px;
    right: 10px;
    border: 1px solid var(--date-color, #dc3545);
    font-weight: bold;
}

[data-title]:hover:after {
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
}

/* UNORDER LIST WITH TICK */
/* UNORDER LIST WITH TICK */
.main__article ul {
    list-style-type: none;
    padding-left: 20px;
    margin: 20px 0;
}

.main__article ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 7px;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: .6px;
    cursor: pointer;
    color: #1f1f1f;
}

.main__article ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: green;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.main__article ul li:hover::before {
    color: var(--site-color);
    transition: color 0.3s ease;
}

/* ORDERED LIST */
.main__article ol {
    list-style-type: none;
    padding-left: 20px;
    margin: 20px 0;
    counter-reset: item;
}

.main__article ol li {
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 500;
    line-height: 28px;
    letter-spacing: .6px;
    color: #333333;
    counter-increment: item;
    cursor: pointer;
}

.main__article ol li::before {
    content: counter(item) ".";
    display: inline-block;
    margin-right: 10px;
    color: var(--site-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.main__article ol li:hover::before {
    color: #000;
    transition: color 0.3s ease;
}


/* =============================== 
    ARTICLE IMAGES    */

.main__article img {
    display: block;
    max-width: 100%;
    margin: 20px 0px;
    height: auto;
    width:100%;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}



/* Existing styles remain intact above 500px */

/* Responsive adjustments for screens <= 500px */
@media (max-width: 500px) {

    .main__article h1 {
        font-size: 24px;      /* smaller font */
        line-height: 32px;
        letter-spacing: 0.4px;
        margin-bottom: 4px;
    }

    .main__article h2 {
        font-size: 20px;
        line-height: 28px;
        letter-spacing: 0.3px;
        margin-bottom: 4px;
        margin-top: 15px;
    }

    .main__article h3,
    .main__article h4,
    .main__article h5,
    .main__article h6 {
        font-size: 16px;
        line-height: 24px;
        letter-spacing: 0.3px;
        margin-bottom: 4px;
        margin-top: 15px;
    }
    .main__article p {
    font-size: 14px;
    /* font-weight: 500; */
    line-height: 30px;
    letter-spacing: .6px;
    color: #1f1f1f;
    margin: 5px 0px;
}
.section_main main{
    padding: 15px;
}
.section_main__banner {
    position: relative;
    width: 100%;
    height: 270px !important;
    overflow: hidden;
    z-index: 1;
}
}
