/* 
Theme Name:		 NeXaric Edutech Pro
Theme URI:		 http://childtheme-generator.com/
Description:	 NeXaric Edutech Pro is a child theme of GeneratePress, created by ChildTheme-Generator.com
Author:			 NeXaric Digital
Author URI:		 http://childtheme-generator.com/
Template:		 generatepress
Version:		 1.0.0
Text Domain:	 nexaric-edutech-pro
*/

.inside-navigation.grid-container {
    padding: 7px 10px;
    border: 1px solid #fff2f2;
    border-radius: 7px;
    box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
}
body.single{
.entry-content	p{
font-family:Noto Serif Bengali;
font-size:20px;
	line-height:1.6;
text-align:justify;
	        margin-bottom: 5px;
}

.ai-highlights-list li{
font-family:Noto Serif Bengali;
font-size:17.5px;
font-weight:600;
}
	.entry-content{
h2, h3, h4, h5, h6, h1 {
    font-family: 'Noto Serif Bengali';
    font-size: 25px;
    font-weight: 700;
    line-height: 1.42;
    background: #fff4f4;
    padding: 11px;
}
		ol, ul {
    margin: 0 0 1em 1em;
    font-family: noto serif bengali;
    font-size: 20px;
}
}
.navigation-branding img, .site-logo.mobile-header-logo img {
    height: 40px!important;
    width: auto;
}	
}

.share-widget {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 30px 0;
    width: 100%;
	margin-bottom: 20px;
}

.share-widget .line {
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.share-icons {
    display: flex;
    gap: 12px;
    background: #fff;
    padding: 8px 14px;
    border-radius: 30px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
	align-items: center;
}

/* --- Updated .icon Block --- */

.icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff; /* Ensures SVG/icon inside is WHITE */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease; /* Added transition for background */
}

/* * THE NEW HOVER EFFECT: Red Background, White Logo 
* We use the general .icon:hover to apply the background change to ALL icons.
*/
.icon:hover {
    transform: scale(1.1);
    opacity: 0.9;
    background: #ff0000; /* Standard Red for Hover */
	color:white;
}
/* IMPORTANT: Styling for the inner SVG */
.icon svg {
    width: 55%; 
    height: 55%;
}

/* --- Brand colors (These are now for the default, non-hover state) --- */
.facebook { background: #1877f2; }
.whatsapp { background: #25d366; }
.telegram { background: #0088CC; } 
.twitter { background: #000000; } 
.link { background: #fbbc04; } 

/* Mobile spacing */
@media (max-width: 480px) {
    .share-icons {
        padding: 6px 10px;
        gap: 10px;
    }
}

.post-dates {
    font-size: 12px;
}
.featured-image.page-header-image-single {
    margin-top: 16px !important;
    margin-bottom: -11px !important;
}
/* Applies only when the screen width is 767px or less */
@media screen and (max-width: 767px) {
    .featured-image.page-header-image-single {
        margin-left: -15px;
        margin-right: -15px;
    }
}

/* 1. Base Styles: Ensures the image fills its container and enables smooth transitions */
.featured-image.page-header-image-single img {
    /* Ensures the image fills the container */
    width: 100%;
    height: 100%;
    /* Makes sure the image doesn't get distorted if the aspect ratio changes */
    object-fit: cover;
    /* Sets the transition for smooth animation. 
       0.3 seconds is a good standard time. */
    transition: transform 0.3s ease-in-out; 
    /* The initial scale is 1 (no zoom) */
    transform: scale(1);
}

/* 2. Hover Effect: This is the zoom-in when the mouse is over the container */
.featured-image.page-header-image-single:hover img {
    /* Scales the image to 1.1 times its size (a 10% zoom-in) */
    transform: scale(1.1);
}

/* 3. Essential Container Style: Hides the zoomed portion that goes outside the box */
.featured-image.page-header-image-single {
    /* IMPORTANT: This crops the image so the zoomed part doesn't overflow
       and hide other content. */
    overflow: hidden; 
    /* Ensures the transition applies when hovering over the container, not just the image */
    transition: all 0.3s ease-in-out;
}

.site-logo.mobile-header-logo img {
    height: 40px !important;
    width: auto;
    padding: 4px !important;
    padding-left: 0px !important;
}

@media screen and (max-width: 767px) {
    .gp-search-modal .gp-modal__overlay {
        padding-top: 16vh;      
    }
}


nav.rank-math-breadcrumb p {
    font-family: 'Noto Serif Bengali';
	font-weight:600;
    color: grey;
    margin-bottom: 6px;
	font-size:16px;
}
nav.rank-math-breadcrumb a{
	color: black;
}

/* --- 1. Container and Heading Styles --- */
form.search-modal-form {
    border-radius: 10px 10px 0px 0px;
}
.search-modal-quick-links { 
background:white;
border-top:1px solid black;
border-radius:0px 0px 10px 10px;
}
.search-modal-quick-links h3 {
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
    margin-bottom: 0px;
    padding: 13px;
}
/* --- 2. List Styles --- */
.search-modal-quick-links ul {
    list-style: none; 
    margin: 0;
    padding: 0;
}
/* --- 3. Individual Link Item Styles --- */
.search-modal-quick-links li {
    border-bottom: 1px solid #f0f0f0; 
}
.search-modal-quick-links li:last-child{
border-bottom: 0px solid #f0f0f0; 
padding-bottom:5px;
}
/* --- 4. Link (Anchor Tag) Styles --- */
.search-modal-quick-links a {
    display: flex; 
    align-items: center;
    padding: 5px;  
    text-decoration: none;
    color: #555;
    font-size: 1.0em;
    transition: color 0.2s;
}
/* --- 5. Hover Effect --- */
.search-modal-quick-links a:hover {
    color: red; 
    background-color: #f9f9f9; 
}
/* --- 6. Icon (Arrow) Styles --- */
.search-modal-quick-links .icon {
    margin-right: 10px;
    font-size: 1.2em;
    color: #aaa; 
    transition: color 0.2s;
}
/* Change icon color on hover */
.search-modal-quick-links a:hover .icon {
    color: red; 
}


/* --- 1. Animation Definition --- */
@keyframes blinkingmenu {
    0% { 
        /* Start with Black */
        color: #000000; 
    }
    49% { 
        /* Nearly half-way, switch to White */
        color: #ffffff; 
    }
    60% { 
        /* Short flash of Yellow */
        color: #ffeb00; 
    }
    99% { 
        /* Nearly finished, switch to Red/Pink */
        color: #f95e68; 
    }
    100% { 
        /* End/Restart with White */
        color: #ffffff; 
    }
}
sup.border {
    padding: 1px 8px;
    background: red;
    border-radius: 10px;
    color: white;
    font-family: inter;
    margin-left: 3px;
}
span.blinking {
    animation: blinkingmenu 0.9s infinite;
}

button.menu-toggle {
    line-height: 0px!important;
 
    padding-right: 0px!important;
}
button.menu-toggle{
	order:2!important;
}

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


/* ===== OPTIMIZED VERSION 9 (DESIGN POLISH) ===== */

:root {
  --primary: #0a66c2;
  --text-dark: #1f1f1f;
  --text-muted: #6b7280;
  --line: #e6e6e6;
  --bg-soft: #fafafa;
}

.article-footer-container {
  max-width: 960px;
  margin: 48px auto;
  padding: 0 20px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.author-block-v7 {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ===== LAYOUT ===== */
.author-details-v7 {
  display: flex;
  gap: 24px;
}

/* ===== LEFT META ===== */
.author-meta-v7 {
  display: flex;
  flex-basis: 320px;
  gap: 16px;
  padding-right: 20px;
  border-right: 1px solid var(--line);
}

.author-img-v7 {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--bg-soft);
}

.author-text-v7 {
  padding-top: 4px;
}

.author-name-v7 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
}

.author-role-v7 {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 4px 0 12px;
}

/* ===== SOCIAL ICONS ===== */
.author-social-v7 {
  display: flex;
  gap: 14px;
}

.social-icon-v7 {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-icon-v7 svg {
  width: 100%;
  height: 100%;
  fill: #9ca3af;
  transition: fill 0.25s ease, transform 0.2s ease;
}

.social-icon-v7:hover svg {
  fill: var(--primary);
  transform: translateY(-1px);
}

/* ===== RIGHT CONTENT ===== */
.author-content-v7 {
  flex: 1;
  padding-left: 4px;
}

.author-desc-v7 {
  margin: 0 0 14px;
  font-size: 0.97rem;
  line-height: 1.65;
  color: #333;
}

.read-more-v7 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.read-more-v7:hover {
  text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .author-details-v7 {
    flex-direction: column;
    gap: 20px;
  }

  .author-meta-v7 {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
    padding-bottom: 16px;
    align-items: center;
    text-align: center;
  }

  .author-social-v7 {
    justify-content: center;
  }

  .author-content-v7 {
    padding-left: 0;
  }
}

/* Incontent WA Group Widget */
    /* 1. The Container Animation */
    @keyframes border-glow {
        0% { border-color: #2eb840; box-shadow: 0 0 5px rgba(46, 184, 64, 0.2); }
        50% { border-color: #ffffff; box-shadow: 0 0 15px rgba(46, 184, 64, 0.6); }
        100% { border-color: #2eb840; box-shadow: 0 0 5px rgba(46, 184, 64, 0.2); }
    }

    /* 2. The Button Pulse */
    @keyframes pulse-white {
        0% { transform: scale(1); }
        50% { transform: scale(1.05); }
        100% { transform: scale(1); }
    }

    div#nt-wp-channel-join-btn-container {
        display: flex;
        justify-content: space-between;
        padding: 15px 15px;
        border: 2px solid #2eb840; /* Slightly thicker for the animation */
        border-radius: 10px;
        background: #075E54;
        margin-bottom: 15px;
		margin-top:15px;
        align-items: center;
        /* Applying the border animation */
        animation: border-glow 3s infinite ease-in-out;
        transition: all 0.3s ease;
    }

    .nt-wp-channel-logo-and-txt {
        display: flex;
        align-items: center;
        gap: 7px;
        color: white;
        font-size: 20px;
        font-family: 'Noto Serif Bengali';
        font-weight: 700;
    }

    button.np-channel-btn {
        background: #2eb840;
        color: white;
        border: 0px;
        padding: 5px 16px;
        border-radius: 50px;
        font-size: 18px;
        font-weight: 600;
        cursor: pointer;
        /* Applying the pulse animation */
        animation: pulse-white 2s infinite ease-in-out;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }

    button.np-channel-btn:hover {
        background: #25a337;
        transform: scale(1.1);
        animation: none; /* Stops pulsing when user hovers */
    }

    .nt-wp-channel-logo-and-txt svg {
        width: 27px;
    }


/* Shorts Widget Container */
.eb-shorts-widget {
    margin: 0px 0;
    font-family: 'Inter', -apple-system, sans-serif;
}

.eb-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
   
}

.eb-header h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
       color: #0f0f0f;
    border-left: 3px solid black;
    padding-left: 6px;
}

/* Subscribe Button */
.eb-sub-btn {
    background: #0f0f0f;
    color: #fff !important;
    text-decoration: none !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.2s;
}

.eb-sub-btn:hover { opacity: 0.9; }

/* Shelf & Cards */
.eb-shelf {
    display: flex;
    overflow-x: auto;
    gap: 14px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 4px 0;
}

.eb-shelf::-webkit-scrollbar { display: none; }

.eb-card {
    flex: 0 0 150px;
    aspect-ratio: 9 / 16;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    background: #000;
    text-decoration: none;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

@media (min-width: 768px) {
    .eb-card { flex: 0 0 220px; }
}

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

.eb-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay & Branding */
.eb-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 12px 14px;
    background: linear-gradient(transparent, rgba(0,0,0,0.95));
    color: white;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

.eb-icon {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ff0000;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
/* Card size update */
@media (min-width: 768px) {
    .eb-card {
        flex: 0 0 166px; /* Exactly as requested */
    }
}
/* Mobile-only padding for the widget container */
@media (max-width: 767px) {
    .eb-shorts-widget {
        padding: 0 15px;
		margin:8px 0px;
    }
}
/* Swipable cursor UI */
.eb-shelf {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
    cursor: grab; /* Shows user they can swipe */
    user-select: none;
}

.eb-shelf:active {
    cursor: grabbing;
}

.eb-shelf::-webkit-scrollbar {
    display: none;
}

   .search-page-header {
            margin: 20px auto;
            display: flex;
            flex-direction: column;
                align-items: flex-start;
            width: 100%;
	   margin-top: 0px;
        }
   .search-page-header {
input#search-input {
    background: white;
    border: 0px;
	   }
}
        .search-container {
            display: flex;
            align-items: center;
            background: #ffffff;
            padding: 4px 20px;
            border-radius: 50px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            border: 1px solid #eee;
            transition: all 0.3s ease;
            box-sizing: border-box;
        }
        @media (max-width: 767px) { .search-container { width: 100%; } }
        @media (min-width: 768px) { .search-container { width: 100%; } }

        .search-container:focus-within {
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
            border-color: #0984e3;
        }
        .search-icon { color: #95a5a6; margin-right: 12px; }
        .search-input { border: none; background: transparent; outline: none; width: 100%; font-size: 16px; }
        .voice-btn { background: none; border: none; cursor: pointer; color: #636e72; font-size: 18px; display: flex; align-items: center; }
        
        .related-queries { margin-top: 15px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-start; }
        .related-label { font-size: 14px; color: #7f8c8d; font-weight: 600; }
        .chip { background: #fff; border: 1px solid #e0e0e0; padding: 5px 15px; border-radius: 20px; font-size: 13px; text-decoration: none; color: #2d3436; transition: 0.2s; }
        .chip:hover { background: red; color: white; border-color: red; }
.query-chips {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
}
