.ss-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.ss-search-wrap input {
    border: none !important;
}


.ss-search-wrap input:focus:not([type="button"]):not([type="submit"]) {
    background-color: #f7f1ff00;
}

.current-issue-clickable-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.grid-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
    font-family: Montserrat, sans-serif;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.grid-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.item-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.icon {
    font-size: 18px;
    color: #7b1b1b;
}

.category-name {
    font-size: 16px;
    font-weight: 600;
    color: #7b1b1b;
}

@media (max-width: 1024px) {
    .current-issue-clickable-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .current-issue-clickable-grid {
        grid-template-columns: 1fr;
    }
}


.popular-posts-carousel {
    max-width: 800px;
    margin: 0px auto;
}

.carousel-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 30px 20px;
    text-align: center;
    font-family: inter;
}

.read-more-btn {
    padding: 6px 12px;
    background: #0073aa;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}

.read-more-btn:hover {
    background: #005177;
}

.popular-posts-carousel .slick-dots {
    bottom: -10px !important;
    display: flex !important;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.popular-posts-carousel .slick-dots li {
    margin: 0 4px;
}

.popular-posts-carousel .slick-dots li button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #000;
    border: none;
    padding: 0;
    text-indent: -9999px;
}

.popular-posts-carousel .slick-dots li.slick-active button {
    background: #0073aa;
}



.popular-posts-carousel-main {
    background: #FFE2B5;
    color: #852E36;
    padding: 15px;
    font-size: 25px;
    font-weight: 700;
    text-align: center;
    max-width: 800px;
/*     max-height: 67px; */
    margin: 0 auto 0px auto; //15px(0px)
    border-radius: 0px;
    font-family: inter;
}

//post list css

.ss-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.ss-breadcrumb {
    padding-top: 21px;
    font-size: 16px;
    color: #8b1d2b;
}

.ss-breadcrumb a {
    color: #000;
    text-decoration: none;
    font-weight: 500;
}

.ss-search-wrap {
    padding-top: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid #000;
    padding-bottom: 4px;
}

.ss-search-wrap i {
    color: #000;
    font-size: 16px;
}

.ss-search-wrap input {
    border: none;
    outline: none;
    font-size: 15px;
    padding: 4px 6px;
    width: 220px;
}

.ss-divider {
    height: 0;
    background: #ddd;
    margin: 20px 0;
}

.ss-cat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 12px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
}

.ss-cat-left {
    font-size: 18px;
    font-weight: 600;
    color: #8b1d2b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ss-cat-left i {
    color: #8b1d2b;
}

.ss-post-count {
    font-size: 16px;
    color: #8b1d2b;
}

.ss-grid-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ss-card {
    display: flex;
	flex-direction: column; 
    justify-content: flex-end;
    padding: 20px;
    background: #fff;
    border-radius: 0px;

border: 1px solid rgba(0, 0, 0, 0.20);
    flex-wrap: wrap;
}

.ss-left {
    width: 70%;
    min-width: 200px;
}

.ss-title a {
    color: #852E36;
    text-decoration: none;
    font-weight: 700;
}

.ss-title a:hover {
    color: #852E36 !important;
}

.ss-author {
    font-size: 15px;
    color: #000;
    margin-bottom: 5px;
}

.ss-links {
    font-size: 13px;
    margin-bottom: 8px;
    color: #808080;
}

.ss-links a {
    color: #808080;
    text-decoration: none;
}

.ss-links a:hover {
    text-decoration: none;
    color: #808080;
}

.ss-shortinfo {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
}

.ss-right {
    display: flex;
    flex-direction: row;
	justify-content: flex-end;
    gap: 8px;
    min-width: 150px;
    align-items: flex-end;
}

.ss-btn {
    background: #8b1d2b;
    color: #fff !important;
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none !important;
    cursor: pointer;
    width: 130px;
    justify-content: center;
    transition: background 0.2s;
	
}

.ss-btn:hover {
    background: #852E36;
}

@media(max-width:1024px) {
    .ss-card {
        flex-direction: column;
    }

    .ss-left {
        width: 100%;
        margin-bottom: 10px;
    }

    .ss-right {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
		display: flex;
      flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media(max-width:768px) {
    .ss-topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .ss-search-wrap input {
        width: 100%;
    }

    .ss-cat-header {
        flex-direction: column;
        gap: 8px;
    }
	.ss-breadcrumb {
    
    font-size: 13px!important;
    
}
}

/* Modal 
.ss-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.ss-modal-content {
    background: #fff;
    margin: 10% auto;
    padding: 25px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.ss-close {
    position: relative;
    top: 12px;
    right: 15px;
    font-size: 26px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

.ss-modal-header {
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
    color: #8b1d2b;
}

.ss-cite-box {
    background: #f7f7f7;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 6px;
    position: relative;
}

#ss-cite-text {
    font-size: 15px;
    color: #333;
    margin: 0;
}

.ss-copy-btn {
   
    right: 10px;
    top: 10px;
    background: none;
    border: none;
    color: #8b1d2b;
    font-size: 14px;
    cursor: pointer;
}

.ss-copy-btn:hover {
    color: #6f1823;
}

*/

.ss-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.ss-modal-content {
    background: #fff;
    margin: 10% auto;
padding: 15px 25px 25px 35px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.archive  .ss-close {
/*     position: absolute; */
    top: 12px;
    right: 15px;
    font-size: 26px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

.ss-modal-header {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 700;
    text-align: left;
    color: #7b1b1b;
    border-bottom: 2px solid #7b1b1b;
    padding-bottom: 6px;
}

.ss-cite-box {
    display: flex !important;
    flex-direction: column !important;
    background: #fafafa;
    border: 1px solid #ddd;
    padding: 15px 20px;
    border-radius: 6px;
    min-height: 120px;
	align-items: flex-end;
}
/*
#ss-cite-text {
    font-size: 15px;
	/*content: url("https://demo102.websartech.in/ijme/wp-content/uploads/2025/12/copy-archive-svgrepo-com.svg");*/
    color: #333;
    margin: 0;
    line-height: 1.6;
}


.ss-copy-btn {
	display:flex;
	flex-direction:row;
    margin-left: auto; 
    margin-top: auto;  
    background: #7b1b1b;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.2s;
}

.ss-copy-btn:hover {
    background: #5e1515;
}








//single post

.custom-single-layout {
    margin-bottom: 50px;
}

.custom-single-layout .post-title {
    font-size: 35px;
    line-height: 1.3;
    color: #852E36;
    font-weight: 700;
    margin-bottom: 5px;
    font-family: Inter;
}

.custom-single-layout .post-author {
    font-size: 15px;
    color: #000000;
    margin-bottom: 8px;
    font-family: Montserrat;
}

.custom-single-layout .post-content {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.7;
    color: #000000;
    font-family: Montserrat;
}

.research-btn-panel {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.research-btn-panel .ss-btn {
    background: #8b1d2b;
    color: #fff !important;
    padding: 9px 16px;
    border-radius: 4px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
    cursor: pointer;
    justify-content: center;
    transition: background 0.2s ease;
    width: 128px;
    height: 40px;
}

.research-btn-panel .ss-btn:hover {
    background: #8b1d2b;
}

.research-btn-panel .ss-btn i {
    font-size: 16px;
}

@media(max-width:768px) {
    .research-btn-panel {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .research-btn-panel .ss-btn {
        width: 80%;
        text-align: center;
    }
}

/* Modal */
.ss-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.ss-modal-content {
    background: #fff;
    margin: 10% auto;
padding: 15px 25px 25px 35px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    /*position: relative;*/
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.ss-close {
   /* position: absolutee;*/
    top: 12px;
    right: 15px;
    font-size: 26px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

.ss-modal-header {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 700;
    text-align: left;
    color: #7b1b1b;
    border-bottom: 2px solid #7b1b1b;
    padding-bottom: 6px;
}

.ss-cite-box {
    display: flex !important;
    flex-direction: column !important;
    background: #fafafa;
    border: 1px solid #ddd;
    padding: 15px 20px;
    border-radius: 6px;
    min-height: 120px;
	align-items: flex-end;
}
/*
#ss-cite-text {
    font-size: 15px;
	/*content: url("https://demo102.websartech.in/ijme/wp-content/uploads/2025/12/copy-archive-svgrepo-com.svg");*/
    color: #333;
    margin: 0;
    line-height: 1.6;
}


.ss-copy-btn {
	display:flex;
	flex-direction:row;
    margin-left: auto; 
    margin-top: auto;  
    background: #7b1b1b;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.2s;
}

.ss-copy-btn:hover {
    background: #5e1515;
}

*/


.ss-copy-btn {
    display: flex;
    align-items: center;
    gap: 5px; 
    
    background: #7b1b1b;
    color: #fff;
    border: none;
    padding: 4px 10px; 
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;

    width: auto;  
    height: auto; 

    position: fixed;
    bottom: 20px;    
    right: 20px;     
    z-index: 9999;   
    
    transition: background 0.2s;
}

/* .ss-copy-btn::before {
    content: "";
    width: 16px;  
    height: 16px;
    background-image: url("https://demo102.websartech.in/ijme/wp-content/uploads/2025/12/copy-archive-svgrepo-com.svg");
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
} */

.ss-copy-btn:hover {
    background: #5e1515;
}





//month list 




.child-cat-breadcrumb a {
    margin-right: 10px;    
	color: #0073aa;
    text-decoration: none;
    padding-top: 20px;
	margin-right: 10px;

}

.child-cat-breadcrumb a:hover {
    text-decoration: underline;
}

.child-cat-breadcrumb a + a{
    margin-left: 10px;
}



.child-cat-grid-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 15px !important;
    margin-top: 20px;
    justify-content: space-between;

}

.child-cat-grid-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: #ffffff;
    padding: 22px 25px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    text-decoration: none !important;
    transition: transform 0.3s ease, background 0.2s;
    flex: 0 0 47%;
    box-sizing: border-box;
    position: relative;
    z-index: 0;
}

.child-cat-grid-row:hover {
    background: #f7f7f7;
    transform: scale(1.03);
    z-index: 10;
}

.child-cat-grid-icon {
    font-size: 22px;
    line-height: 1;
}

.child-cat-grid-name {
    font-size: 18px;
    font-weight: 500;
    flex-grow: 1;
}

.child-cat-grid-arrow {
    font-size: 18px;
}

@media(max-width:768px) {
    .child-cat-grid-row {
        flex: 0 0 100%;
        padding: 18px 20px;
    }

    .child-cat-grid-name {
        font-size: 16px;
    }

    .child-cat-grid-arrow {
        font-size: 16px;
    }
}




//book publication


/* ================================
   BOOK GRID
================================ */
.book-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Laptop: 2 columns */
  gap: 20px!important;
  width: 100%;
  box-sizing: border-box;
}

/* Book Card */
.book-card {
  display: flex;
  gap: 15px;
  background: #fff;
  border: 1px solid #ddd;
  padding: 15px;
  cursor: pointer;
  box-sizing: border-box;
  align-items: center;
}

/* BOOK IMAGE – Fully Responsive */
.book-card img {
    width: 100%;
    max-width: 120px;  
	
    height: auto;
    object-fit: cover;
    border-radius: 4px;
}


.book-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.book-info h3 {
  margin: 0 0 10px 0;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  color: #852E36;
}

.book-info p {
  margin: 4px 0;
  font-family: Montserrat, sans-serif;
  font-size: 12px;
  color: #333;
}

/* ================================
   MOBILE – 1×1 BOOK GRID
================================ */
@media (max-width: 768px) {
  .book-grid {
    grid-template-columns: 1fr; /* Mobile: 1 column */
  }

  .book-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .book-card img {
    width: 80%;
    height: auto;
    margin-bottom: 12px;
  }
}

/* ================================
   POPUP OVERLAY
================================ */
.book-popup{
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0,0,0,0.7) !important;
    z-index: 999999 !important;
    display: none;
    align-items: center;
	
    justify-content: center;
	
}
.book-popup.show{
    display: flex !important;
}

/* ================================
   POPUP BOX
================================ */
.popup-inner{
    position: relative !important;
    width: 90%;
    max-width: 900px;
    background: #fff;
    border-radius: 10px;
    overflow-y: scroll;
    max-height: 90vh;}

/* CLOSE BUTTON */
.close-popup{
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 26px;
    cursor: pointer;
    z-index: 10;
}

/* ================================
   POPUP BODY
================================ */
.popup-body{
   /* padding: 20px;*/
	padding: 35px 20px 35px 20px;
}

/* ================================
   IMAGE HOLDER
================================ */
.popup-carousel{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    overflow: hidden;
}

.popup-carousel .popup-images{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.popup-carousel .popup-images img{
    width: 233px;
    height: 331px;
    object-fit: cover;
    border-radius: 4px;
}

/* ================================
   SPLIDE (Mobile carousel)
================================ */
.splide__slide img{
/*     width: 233px; */
/*     height: 331px; */
    object-fit: cover;
    display: block;
    border-radius: 4px;
}

/* ================================
   POPUP TEXT CONTENT
================================ */
.popup-content{
    text-align: center;
}

.popup-content h2{
    font-size: 14px;
    margin: 12px 0 6px;
    color: #000;
}

.popup-content p{
    font-size: 14px;
    margin: 6px 0;
}

.popup-content h3{
    font-size: 12px;
    margin: 14px 0 6px;
}

.popup-about{
    font-size: 14px;
    line-height: 1.6;
}
.popup-publication{
	font-size:12px!important;
	font-weight: bolder;
	color:#852E36;
}
.popup-info{
	font-size: 14px;
    line-height: 1.6;
}





  /* MOBILE POPUP STYLE */
@media(max-width: 768px){

    .popup-inner{
        width: 95%;
    }

    .splide__track{
        margin: 0 auto;
    }

    .splide__slide img{
        margin: 0 auto;
/*         width: 200px; */
        height: 100%;
    }

    /* White arrows, no background, no border */
    .splide__arrow{
        background: none !important;  
        border: none !important;      
        box-shadow: none !important;  
        width: auto !important;       
        height: auto !important;     
        padding: 0 !important;         
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .splide__arrow svg path{
        fill: #000 !important;         
    }

    /* Hide dots/pagination */
    .splide__pagination {
        display: none !important;
    }
}
 html .book-grid {
	display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
	 gap:20px 2%;
	 
}
.book-card {
    width: 48%;
}

.book-img {
	width: 40%;
}

/* .wpcf7-form-control-wrap {
    position: relative!important;
} */


//override book publication




/* ======================================================
   RESPONSIVE BOOK GRID (Final Working Solution)
====================================================== */

/* LAPTOP & DESKTOP (2 cards per row) */
html .book-grid {
    display: flex !important;
    flex-wrap: wrap;
    gap: 20px 2%;
    justify-content: space-between;
}

.book-card {
    width: 48%; /* laptop 2 columns */
    display: flex;
}

/* TABLET - 992px ↓ (still 2 columns but optimized) */
@media (max-width: 992px) {
    .book-card {
        width: 48%; /* still 2 columns */
    }
}

/* MOBILE - 768px ↓ (1 column layout) */
@media (max-width: 768px) {
    html .book-grid {
        display: flex !important;
        flex-direction: column;
        gap: 20px;
    }

    .book-card {
        width: 100% !important;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .book-card img {
        width: 80% !important;
        height: auto !important;
        margin-bottom: 12px;
    }
}

/* SMALL MOBILE - 480px ↓ */
@media (max-width: 480px) {
    .book-card img {
        width: 90% !important;
    }
}

.popup-title h2 {
    font-size: 20px;
    letter-spacing: 0;
    line-height: 25px;
	color:#852E36;
}

