/*
Theme Name: Unicamp Child
Theme URI: https://unicamp.thememove.com/
Author: ThemeMove
Author URI: https://thememove.com/
Version: 1.0.0
Template: unicamp
Text Domain: unicamp-child
Tags: editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
*/
@font-face {
    font-family: 'DinPro';
    src: url('/wp-content/uploads/2025/04/dinpro.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DinPro';
    src: url('/wp-content/uploads/fonts/dinpro_bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.pm-hide {
  display: none;
}

/********* Policy pages **********/

/* Container & table */
.policy-container {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.7;
  color: #333;
  background-color: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  margin: 20px 0;
}
.policy-title {
  text-align: center;
  font-size: 1.6em;
  font-weight: 700;
  color: #004d40;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 25px;
  font-size: 15px;
}
.policy-table td {
  border: 1px solid #ddd;
  padding: 10px 12px;
  vertical-align: top;
}
.policy-table tr:nth-child(even) {
  background-color: #f9f9f9;
}
.policy-table td:first-child {
  width: 28%;
  font-weight: 600;
  color: #004d40;
}

/* ---------- Numbered hierarchical lists using CSS counters ---------- */
ol.policy-list {
  counter-reset: section;
  list-style: none;
  margin: 0 0 16px 0;
  padding-left: 0;
}
ol.policy-list > li {
  counter-increment: section;
  margin-bottom: 14px;
}
ol.policy-list > li::before {
  content: counter(section) ". ";
  font-weight: 700;
  color: #004d40;
  margin-right: 6px;
}

/* Level 2 */
ol.policy-list li ol.policy-list {
  counter-reset: subsection;
  margin-top: 6px;
  padding-left: 1.6em;
}
ol.policy-list li ol.policy-list > li {
  counter-increment: subsection;
}
ol.policy-list li ol.policy-list > li::before {
  content: counter(section) "." counter(subsection) " ";
  font-weight: 700;
  color: #004d40;
  margin-right: 6px;
}

/* Level 3 */
ol.policy-list li ol.policy-list li ol.policy-list {
  counter-reset: subsub;
  padding-left: 1.6em;
}
ol.policy-list li ol.policy-list li ol.policy-list > li {
  counter-increment: subsub;
}
ol.policy-list li ol.policy-list li ol.policy-list > li::before {
  content: counter(section) "." counter(subsection) "." counter(subsub) " ";
  font-weight: 700;
  color: #004d40;
  margin-right: 6px;
}

/* Text styling */
.policy-container p,
.policy-content li {
  text-align: justify;
  margin-bottom: 12px;
}
.policy-content li > div {
  margin-top: 6px;
}

/* Section headers */
.policy-subtitle {
  font-size: 1.28em;
  font-weight: 700;
  color: #004d40;
  margin: 22px 0 10px;
}
.policy-section {
  font-size: 1.22em;
  font-weight: 700;
  color: #004d40;
  margin: 20px 0 10px;
  padding-left: 6px;
  border-left: 4px solid #004d40;
}

/* Highlight */
.highlight {
  background: #e8f5e9;
  padding: 4px 6px;
  border-left: 4px solid #004d40;
}
/*******************improve cls**********/
@media (max-width: 768px) {

  /* Prevent hero/banner CLS */
  .elementor-section,
  .elementor-widget-container {
    min-height: auto;
  }

  /* Fix images causing CLS */
  img {
    height: auto;
    aspect-ratio: attr(width) / attr(height);
  }

  /* Reserve space for header */
  header,
  .site-header {
    min-height: 70px;
  }
}
/***********ajax page********/
/* ===== Unicamp AJAX Tabs Layout ===== */

.unicamp-ajax-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    margin-top: 40px;
}

/* Sidebar */
.unicamp-sidebar {
    background: #f7f8fa;
    border-radius: 12px;
    padding: 25px;
    position: sticky;
    top: 120px;
    height: fit-content;
}

.sidebar-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1f2937;
}

/* Tabs */
.unicamp-tab {
    width: 100%;
    background: transparent;
    border: none;
    padding: 14px 16px;
    margin-bottom: 8px;
    border-radius: 8px;
    text-align: left;
    font-size: 15px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.25s ease;
}

.unicamp-tab:hover {
    background: #e9ecf3;
}

/* Active Tab */
.unicamp-tab.active {
    background: #5b5de6; /* Unicamp accent */
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(91,93,230,0.25);
}

/* Content Area */
.unicamp-content .content-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    min-height: 300px;
}

/* Content typography */
.content-box h2 {
    font-size: 26px;
    margin-bottom: 15px;
    color: #111827;
}

.content-box p {
    font-size: 15px;
    line-height: 1.7;
    color: #4b5563;
}

/* Loading State */
.unicamp-loading {
    font-size: 15px;
    color: #6b7280;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .unicamp-ajax-layout {
        grid-template-columns: 1fr;
    }

    .unicamp-sidebar {
        position: relative;
        top: auto;
    }
}
/********changes on 17 jan 2026****/
.etlms-course-list-main-wrap{
	display:block !important;
	margin:0px auto !important;
}
.table-left-align td,.table-left-align th{
	text-align:left !important;
}
.tm-cover-image-box .image img {
    width: auto !important;
    
}