/*
Theme Name: Hello Elementor Child
Author: 
Description: Your description goes here
Version: 1.0
Template: hello-elementor

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/
/* Apply italic style only to TOC items that come from H5 */
/*
.elementor-toc__list-wrapper li:nth-child(1) .elementor-toc__list-item-text {
    font-style: italic !important;
}
*/
.card.editor-item .card-header img {
    width: 90px;
    height: 90px;
    object-fit: cover;
}


.diabetes-topic-section {
}
.diabetes-topic-section .container {
}
.topics-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.topic-column {
  flex: 1 1 300px;
  min-width: 280px;
/*   padding-left: 20px;
  border-left: 2px solid #d0d0d0; /* Light gray border */ */
}
.topic-column h3 {
  font-size: 18px;
  color: #0066cc;
}
.topic-column ol {
  padding-left: 20px;
  margin: 0;
  list-style-type: decimal;
}
.topic-column li {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.4;
}
.topic-column li strong {
  color: #000;
}
.topic-column li span {
  color: #666;
  font-size: 13px;
  display: inline-block;
  margin-top: 3px;
}

#tinymce h2{
    font-size: 30px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    color: blue !important;
    font-size: 1.285714286rem;
    line-height: 1.6;
}

/* Filter buttons */
    .filters {
        margin-bottom: 20px;
        text-align: center;
        display: flex;
        gap: 14px;
        justify-content: space-between;
        overflow-x: scroll;
}
    .filter-btn {
        background: #0b2c6a;
        color: #fff;
        border: none;
        padding: 8px 16px;
        border-radius: 20px;
        margin: 5px;
        cursor: pointer;
        font-size: 14px;
        transition: background 0.3s;
    }
    .filter-btn.active {
        background: #3ca9f0;
    }
    .filter-btn:hover {
        background: #2c6bb2;
    }
    
    .guideline--sec--wrapper .filters button {
        border-radius: 10px;
        padding: 6px 14px;
        font-size: 14px;
        margin: 0;
}
    /* Category sections */
    .category-section {
        display: none;
        margin-bottom: 40px;
    }
    .category-section.active {
        display: block;
    }
    .red-line {
        height: 1px;
        background-color: red;
        margin: 20px 0 10px;
    }
   .category-section h2 {
    font-size: 24px !important;
    font-weight: bold !important;
    text-transform: uppercase;
    margin-bottom: 15px;
}
    /* Cards grid */
   .cards-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .content-card {
        background: white;
        padding: 16px;
        border-radius: 16px;
        margin-bottom: 0px;
        border: 1px solid #e1e4ea;
        display: inline-block;
        width: 100%;
    }
   .content-card h3 {
    font-size: 18px !important;
    margin-bottom: 15px !important;
    color: #0A0C29 !important;
    line-height: 1.5rem !important;
}
    .content-card p {
        font-size: 14px;
        color: #333;
        margin-bottom: 6px;
    }
    .content-card adiv {
        font-size: 14px;
        color: #0077cc;
        text-decoration: none;
    }
    
    .content-card div {
    margin-bottom: 6px;
}
@media(max-width:981px){
    .cards-grid {
    grid-template-columns: repeat(2, 1fr);
}
}
@media(max-width:640px){
    .cards-grid {
    grid-template-columns: repeat(1, 1fr);
}
}
.content-card div{
    word-wrap: break-word;
max-width: 360px;
}






//editorial page


//editorial page

        #editorial-team-wrapper { margin: 20px 0; }
        .editorial-search-filter { display: flex; gap: 10px; margin-bottom: 15px; }
        .editorial-search-filter input,
        .editorial-search-filter select { padding: 8px; }

        /* Grid Styles */
        .grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
            gap: 24px;
            max-width: 1200px;
            margin: auto;
        }
        .card {
            background: #fff;
            border: 1px solid #E1E4EA;
            border-radius: 16px;
            padding: 28px 20px;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
        .card:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        }
        .card-header {
            display: flex;
            flex-direction: column;
            align-items: left;
            margin-bottom: 12px;
        }
        .card-header img {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      object-fit: cover;
      margin-right: 15px;
    
        }
        .card h3 {
    font-size: 18px;
      font-weight: bold;
      color: #1a1a1a;;
        }
        .card p {
            font-size: 14px;
            color: #444;
            line-height: 1.5;
        }
        .card a {
            display: inline-block;
            margin-top: 8px;
            font-size: 14px;
            font-weight: 500;
            color: #1a73e8;
            text-decoration: none;
            transition: color 0.2s ease;
        }
        .card a:hover {
            text-decoration: underline;
            color: #0c57c0;
        }



//enlarge image css

.image-zoom {
  position: relative;
  display: inline-block;
}
.image-zoom img {
  display: block;
  max-width: 100%;
  height: auto;
}
.image-zoom .zoom-icon {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 6px 8px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
}
.image-zoom:hover .zoom-icon {
  background: rgba(0,0,0,0.9);
}
    

.custom-top-buttons {
    position: absolute;
    top: 10px;
    right: 15px;
    display: flex;
    gap: 10px;
    z-index: 9999;
}

.custom-top-buttons .gbtn {
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 6px 12px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}
.custom-top-buttons .gbtn:hover {
    background: rgba(0,0,0,0.8);
}






.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.95rem;
}

.breadcrumbs a {
  color: #003366;
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs .breadcrumb-separator {
  color: #e63946;
  margin: 0 6px;
}

.breadcrumbs .current {
  font-weight: bold;
  color: #111;
}

.card.editor-item .card-header img {
    height: auto;
}
