
.custom-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.clamp-text-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.clamp-text-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.clamp-text-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}



.mob-side-bar-image-left {
        width: 100%;
        height: auto;
    }

.mob-side-bar-image {
        width: 100%;
        height: auto;
    }

/******************************************************************/
/******************************************************************/
/******************************************************************/
/* Padding classes with 2 pixels */
/* Apply these styles only for desktop devices */
@media (min-width: 992px) {
    /* Padding classes with 0 pixels */
    .mob-pt-0 {
        padding-top: 0 !important;
    }

    .mob-pr-0 {
        padding-right: 0 !important;
    }

    .mob-pb-0 {
        padding-bottom: 0 !important;
    }

    .mob-pl-0 {
        padding-left: 0 !important;
    }

    /* Padding classes with 2 pixels */
    .mob-pt-2 {
        padding-top: 2px !important;
    }

    .mob-pr-2 {
        padding-right: 2px !important;
    }

    .mob-pb-2 {
        padding-bottom: 2px !important;
    }

    .mob-pl-2 {
        padding-left: 2px !important;
    }

    /* Padding classes with 3 pixels */
    .mob-pt-3 {
        padding-top: 3px !important;
    }

    .mob-pr-3 {
        padding-right: 3px !important;
    }

    .mob-pb-3 {
        padding-bottom: 3px !important;
    }

    .mob-pl-3 {
        padding-left: 3px !important;
    }

    /* Padding classes with 5 pixels */
    .mob-pt-5 {
        padding-top: 5px !important;
    }

    .mob-pr-5 {
        padding-right: 5px !important;
    }

    .mob-pb-5 {
        padding-bottom: 5px !important;
    }

    .mob-pl-5 {
        padding-left: 5px !important;
    }

    .mob-m-0 {
        margin: 0 !important;
    }

    .mob-m-b-5 {
        margin-bottom: 5px !important;
    }

    .mob-m-t-5 {
        margin-top: 5px !important;
    }

    .mob-side-bar-image-left {
        max-height: 349px;
        width: 100%;
    }

    .mob-pr-15 {
        margin: 0 15px 5px 0;
    }

    .mob-side-bar-image {
        max-height: 268px;
        width: 100%;
    }
}

.college-button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    background-color: #004C1D;
    padding: 0;
    margin-bottom: 5px;
}

.college-button a {
    height: 70px;
    padding: 26px 15px;
    display: inline-block;
    position: relative;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    color: white;
    -webkit-transition: color 0.3s, background 0.3s;
    transition: color 0.3s, background 0.3s;
}

/******************************************************************/
/***************** College Page Details Section *******************/
/******************************************************************/
.college-additional-details h3 {
    font-weight: 600;
    color: #004c1d; /* Changed from #2c3e50 to #004c1d */
    margin-bottom: 1.5rem;
}

.college-details-list,
.college-details-list li {
    list-style: none !important;
}

.college-details-list li::marker {
    display: none;
}

.college-details-list {
    margin: 0;
    padding: 0;
    list-style: none !important;
}

.college-details-list .detail-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.college-details-list .detail-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #004c1d, #004c1d); /* Changed from blue gradient to #004c1d */
    transition: width 0.3s ease;
}

.college-details-list .detail-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 49, 29, 0.15); /* Adjusted shadow color to match #004c1d */
    border-color: rgba(0, 49, 29, 0.3); /* Adjusted border color to match #004c1d */
}

.college-details-list .detail-item:hover::before {
    width: 100%;
    opacity: 0.05;
}

.college-details-list .detail-item i {
    font-size: 1.25rem;
    margin-right: 0.875rem;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #004c1d, #004c1d); /* Changed from blue gradient to #004c1d */
    color: white;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0, 49, 29, 0.3); /* Adjusted shadow color to match #004c1d */
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.college-details-list .detail-item:hover i {
    transform: scale(1.05);
}

.college-details-list .detail-content {
    flex: 1;
    min-width: 0;
}

.college-details-list .detail-label {
    display: block;
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.college-details-list .detail-value {
    display: block;
    font-weight: 600;
    color: #2d3748;
    font-size: 1rem;
    word-break: break-word;
}

.college-details-list .detail-value a {
    color: #004c1d; /* Changed from #007bff to #004c1d */
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.college-details-list .detail-value a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background: #004c1d; /* Changed from #007bff to #004c1d */
    transition: width 0.3s ease;
}

.college-details-list .detail-value a:hover {
    color: #004c1d; /* Changed from #0056b3 to #004c1d */
}

.college-details-list .detail-value a:hover::after {
    width: 100%;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .college-details-list .detail-item {
        padding: 0.625rem 0.75rem;
    }
    .college-details-list .detail-item i {
        width: 30px;
        height: 30px;
        font-size: 1rem;
        margin-right: 0.75rem;
    }
}

/******************************************************************/
/******************************************************************/
/******************************************************************/
.ts-breaking-news {
    padding: 12px 20px !important;
}

.nav-menu > li.active > a {
    background: #004c1d !important;
}

.right-menu li .nav-search .nav-search-button {
    background: #004c1d !important;
}

.top-social li.ts-date {
    background: #004c1d !important;
    color: white;
}

/******************************************************/
/******************************************************/
/******************************************************/
/******************************************************/
/** New/Blog Page **/
.news-title-main {
    color: #000;
    line-height: 1.8;
    font-size: 28px;
    font-weight: 600;
    font-family: 'Baloo Tamma 2', sans-serif;
}

.news-title-sub {
    color: #000;
    line-height: 1.8;
    font-size: 20px;
    font-weight: 500;
    font-family: 'Baloo Tamma 2', sans-serif;
}

.news-intro {
    color: #000;
    line-height: 1.8;
    font-size: 18px;
    font-weight: 400;
    font-family: 'Baloo Tamma 2', sans-serif;
}

/* Rich Text Block Styling */
.rich-text-block {
    line-height: 1.8;
    color: #000;
    font-size: 18px;
}

.rich-text-block h2 {
    font-size: 32px;
    color: #000;
    margin-top: 1.8em;
    margin-bottom: 0.8em;
    font-family: 'Baloo Tamma 2', sans-serif;
}

.rich-text-block h3 {
    font-size: 28px;
    color: #000;
    margin-top: 1.5em;
    margin-bottom: 0.7em;
    font-family: 'Baloo Tamma 2', sans-serif;
}

.rich-text-block h4 {
    font-size: 24px;
    color: #000;
    margin-top: 1.3em;
    margin-bottom: 0.6em;
    font-family: 'Baloo Tamma 2', sans-serif;
}

.rich-text-block h5 {
    font-size: 22px;
    color: #000;
    margin-top: 1.2em;
    margin-bottom: 0.5em;
    font-family: 'Baloo Tamma 2', sans-serif;
}

.rich-text-block h6 {
    font-size: 20px;
    color: #000;
    margin-top: 1em;
    margin-bottom: 0.5em;
    font-family: 'Baloo Tamma 2', sans-serif;
}

.rich-text-block p {
    margin-bottom: 1.5rem;
    color: #000;
    line-height: 1.8;
    font-size: 18px;
    font-family: 'Baloo Tamma 2', sans-serif;
}

.rich-text-block a {
    color: #d66f2a;
    text-decoration: none;
    transition: color 0.2s ease;
    font-family: 'Baloo Tamma 2', sans-serif;
}

.rich-text-block a:hover {
    color: #b05620;
    text-decoration: underline;
}

.rich-text-block table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
}

.rich-text-block th,
.rich-text-block td {
    border: 1px solid #ddd;
    padding: 8px;
    color: #000;
    font-size: 18px;
}

.rich-text-block th {
    background-color: #f2f2f2;
    text-align: left;
}

.rich-text-block blockquote {
    border-left: 4px solid #d66f2a;
    padding-left: 20px;
    font-style: italic;
    margin: 20px 0;
}

.rich-text-block blockquote p {
    font-size: 20px;
    color: #000;
}

.rich-text-block blockquote cite {
    display: block;
    font-weight: bold;
    margin-top: 10px;
    color: #000;
    font-size: 18px;
}

.rich-text-block img {
    width: 100%;
    height: auto;
    max-width: 100%;
}

.rich-text-block .image-wrapper {
    position: relative;
    margin: 20px 0;
}

.rich-text-block .image-caption {
    font-size: 16px;
    font-style: italic;
    color: #000;
    margin-top: 8px;
}

.rich-text-block ul,
.rich-text-block ol {
    padding-left: 2em;
    margin: 20px 0;
    color: #000;
}

.rich-text-block ul li,
.rich-text-block ol li {
    margin-bottom: 10px;
    line-height: 1.8;
    color: #000;
    font-size: 18px;
    font-family: 'Baloo Tamma 2', sans-serif;
}

.rich-text-block code {
    background-color: #f5f5f5;
    padding: 2px 4px;
    border-radius: 3px;
    font-family: monospace;
    color: #000;
    font-size: 18px;
}

/* Callout boxes */
.rich-text-block .callout {
    padding: 20px;
    border-radius: 5px;
    margin: 20px 0;
    background-color: #f8f9fa;
    border-left: 4px solid #4c9aff;
}

.rich-text-block .callout-heading {
    margin-top: 0;
    margin-bottom: 10px;
    color: #000;
    font-size: 22px;
}

.callout {
    padding: 20px;
    border-radius: 5px;
    margin: 20px 0;
}

.callout-heading {
    margin-top: 0;
    margin-bottom: 10px;
}

.callout-info {
    background-color: #e3f2fd;
    border-left: 5px solid #2196F3;
}

.callout-warning {
    background-color: #fff3e0;
    border-left: 5px solid #FF9800;
}

.callout-success {
    background-color: #e8f5e9;
    border-left: 5px solid #4CAF50;
}

.callout-danger {
    background-color: #ffebee;
    border-left: 5px solid #f44336;
}

.curved-content {
    border-radius: 20px;
    overflow: hidden;
}

/* Two column layout */
.two-columns {
    display: flex;
    gap: 30px;
    margin: 2rem 0;
}

.two-columns .column {
    flex: 1;
}

/* Card styling */
.card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    margin-bottom: 1rem;
    font-weight: 600;
}

.card .btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: #d66f2a;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 1rem;
    transition: background-color 0.2s ease;
}

.card .btn:hover {
    background-color: #b05620;
}

/* InfoBox styles */
.infobox {
    background-color: #E0F7FA;
    border: 1px solid #B2EBF2;
    border-left: 3px solid #00BCD4;
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
}

.infobox-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-weight: 600;
}

.infobox-icon {
    margin-right: 8px;
}

.infobox-content {
    font-size: 0.95rem;
}

/* Different infobox types */
.infobox[data-icon="warning"] {
    background-color: #FFF8E1;
    border-color: #FFE082;
    border-left-color: #FFA000;
}

.infobox[data-icon="error"] {
    background-color: #FFEBEE;
    border-color: #FFCDD2;
    border-left-color: #F44336;
}

.infobox[data-icon="success"] {
    background-color: #E8F5E9;
    border-color: #C8E6C9;
    border-left-color: #4CAF50;
}

/* Gallery Block Styling (preserved from custom.css) */
.blog-gallery {
    margin: 30px 0;
    position: relative;
}

.gallery-header {
    margin-bottom: 15px;
}

.gallery-title {
    position: relative;
    display: inline-block;
    font-size: 24px;
    margin-bottom: 0;
    padding-left: 15px;
    color: #333;
    font-family: 'Baloo Tamma 2', sans-serif;
}

.gallery-title:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background-color: #d66f2a;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10px;
}

.gallery-container a {
    display: block;
    overflow: hidden;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.gallery-container img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.gallery-container a:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .blog-gallery {
        margin: 20px 0;
    }

    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery-container {
        grid-template-columns: 1fr;
    }
}

/* Enhanced Table Block Styling */
.table-container {
    margin: 30px 0;
}

.table-responsive {
    overflow-x: auto;
    margin-bottom: 1rem;
}

.table-responsive table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

.table-responsive th {
    background-color: #f5f5f5;
    font-weight: 600;
    text-align: left;
    border: 1px solid #dee2e6;
    padding: 0.75rem;
    vertical-align: top;
}

.table-responsive td {
    border: 1px solid #dee2e6;
    padding: 0.75rem;
    vertical-align: top;
}

.table-responsive caption {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    color: #6c757d;
    text-align: left;
    caption-side: top;
    font-style: italic;
}

.table-responsive tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.02);
}

.table-responsive tr:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

@media (max-width: 768px) {
    .table-responsive {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table-responsive table {
        min-width: 650px;
    }
}

/* Direct Table Styles for EnhancedTableBlock */
.table-container table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 1.5rem 0;
    font-size: 16px;
}

.table-container th {
    background-color: #f5f5f5;
    font-weight: 600;
    text-align: left;
    border: 1px solid #dee2e6;
    padding: 12px 15px;
    vertical-align: top;
}

.table-container td {
    border: 1px solid #dee2e6;
    padding: 12px 15px;
    vertical-align: top;
}

.table-container tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.02);
}

.table-container tr:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

.table-container caption {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    color: #6c757d;
    text-align: left;
    caption-side: top;
    font-style: italic;
}

/* Table Caption Styling */
.table-container .table-caption {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
    font-family: 'Baloo Tamma 2', sans-serif;
    padding-left: 2px;
}

/* Improve table styling for better visibility */
.table-container table.table {
    margin-top: 0.5rem;
    border: 1px solid #dee2e6;
}

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    max-width: 1066px; /* 16:9 aspect ratio for 600px height */
    min-width: 400px;
    margin: 20px auto;
    height: auto;
    max-height: 600px;
}

.video-container::before {
    content: "";
    display: block;
    padding-top: 56.25%;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 640px) {
    .video-container {
        min-width: 0;
        width: 100%;
    }
}