/* News listing page styles */
#content.interior {
    padding-top: 18px;
}

#content.interior #main {
    
}

#content.interior #main h1 {
    background: none;
    border-bottom: 1px solid #d6dee8;
    padding: 0 0 10px 0;
    margin-bottom: 18px;
    font-size: 20px;
    color: #1f4d6d;
}

#rightnav #news {
    background: #fff;
    border: 1px solid #e1e7ef;
    padding: 12px 14px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

#rightnav #news h2 {
    margin-top: 0;
}

#demo {
    margin-top: 14px;
}

#demo ul.contensdata {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 16px;
}

#demo ul.contensdata li {
    border: 1px solid #d7e1ea;
    background: #ffffff;
    padding: 18px 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #2d6e9b;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

#demo ul.contensdata li:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.14);
    border-left-color: #1f4d6d;
}

#demo ul.contensdata li strong {
    display: block;
    font-size: 11px;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    color: #1f4d6d;
    margin-bottom: 10px;
    background: #eef5fb;
    padding: 4px 10px;
    border-radius: 999px;
    width: fit-content;
}

#demo ul.contensdata li p {
    margin: 0;
}

#demo ul.contensdata li a {
    font-size: 13px;
    color: #1f4d6d;
    text-decoration: none;
    line-height: 20px;
    display: inline-block;
    font-weight: 600;
}

#demo ul.contensdata li a:hover {
    text-decoration: underline;
}

#pagination2 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 22px 0 0;
}

#pagination2 .news-pagination {
    display: flex;
    gap: 6px;
    padding: 0;
    margin: 0;
    list-style: none;
}

#pagination2 .news-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid #c7d6e1;
    color: #1f4d6d;
    background: #f7fbff;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

#pagination2 .news-pagination a:hover,
#pagination2 .news-pagination a.active {
    background: #1f4d6d;
    border-color: #1f4d6d;
    color: #fff;
    box-shadow: 0 6px 14px rgba(31, 77, 109, 0.35);
}

#pagination2 .news-pagination .page-nav {
    font-weight: bold;
    min-width: 32px;
}

#pagination2 .news-pagination .ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 30px;
    color: #4b4b4b;
    font-weight: bold;
}
