/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

.testimonial-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  overflow: hidden;
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

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

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

.testimonial-content {
  padding: 30px;
  width: 55%;
}

.testimonial-content h3 {
  font-size: 20px;
    margin-bottom: 5px;
    font-weight: 400;
    font-family: 'Poppins';
    color: #000;
}

.testimonial-content p {
  font-size: 11px;
  color: #7D7A86;
  line-height: 1.6;
  font-family: 'Poppins';
}

.testimonial-buttons {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.testimonial-buttons a {
  display: inline-block;
    padding: 5px 13px;
    border-radius: 6px;
    font-size: 10px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s 
ease;
}

.testimonial-buttons .linkedin {
  background: #d0f0ff;
  color: #0077b5;
}

.testimonial-buttons .ideas {
  background: #ffe1d3;
  color: #e35c2f;
}

.testimonial-buttons a:hover {
  transform: translateY(-2px);
}


/* Swiper adjustments */
.swiper {
  padding: 40px 10px;
}

.swiper-slide {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

/* Responsive behavior */
@media (max-width: 768px) {
  .swiper-slide {
    flex-direction: column;
  }

  .testimonial-card {
    flex-direction: column-reverse;
  }

  .testimonial-card img {
    width: 100%;
  }

  .testimonial-content {
    width: 100%;
  }
}
    
  .favourite-line {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #888;
  margin-top: 15px;
  margin-bottom: 10px;
}

.favourite-line .heart {
  font-size: 16px;
  margin-right: 6px;
  color: #ff6b6b;
}

.favourite-line .line {
  flex: 1;
  height: 1px;
  background: #ddd;
  margin-left: 10px;
}
  
    
    
/* ======================================================
   ONLINKME BLOG LISTING – MAIN GRID
====================================================== */

.onlinkme-blog-container {
  max-width: 1250px;
  margin: 40px auto;
  padding: 0 20px;
}

.onlinkme-blog-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #111;
}


/* ============================
 FILTER LINKS (Trending Topics)
=============================== */


.onlinkme-blog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* allows responsive stacking */
  gap: 10px;
}

.onlinkme-blog-filter {
  display: flex;
  align-items: center;
  gap: 10px;
}

.onlinkme-filter-heading {
  font-weight: 600;
  margin-right: 5px;
}

.onlinkme-blog-filter {
  display: flex
  ;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 30px;
      background: #F1F5FF;
      padding: 15px;
      border-radius: 30px;
}
.onlinkme-blog-filter span{    padding: 6px 14px;color:#2563EB}

.onlinkme-filter-link {
  padding: 6px 14px;
  border: 1px solid #d8d8d8;
  border-radius: 18px;
  font-size: 13px;
  color: #797979;
  font-weight: 600;
  text-decoration: none !important;
  transition: 0.25s;
  background: #fff;
}

.onlinkme-filter-link:hover,
.onlinkme-filter-link.onlinkme-active {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}


/* ======================================
 GRID: 3 Columns Desktop
====================================== */

.onlinkme-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}


/* ======================================
 BLOG CARD
====================================== */

.onlinkme-blog-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.onlinkme-blog-thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.onlinkme-blog-thumb:hover img {
  transform: scale(1.04);
}

.onlinkme-blog-meta {
  margin-top: 10px;
  font-size: 13px;
  color: #6a6a6a;
}

.onlinkme-blog-heading {
  font-size: 17px;
  margin: 10px 0;
  font-weight: 600;
}

.onlinkme-blog-heading a {
  text-decoration: none;
  color: #08305a;
}

.onlinkme-blog-heading a:hover {
  color: #2563eb;
}

.onlinkme-blog-excerpt {
  font-size: 14px;
  color: #444;
  margin-bottom: 12px;
}


/* TAGS INSIDE CARD */

.onlinkme-blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.onlinkme-tag-item {
  font-size: 12px;
  padding: 4px 10px;
  background: #f3f4f6;
  border-radius: 14px;
  color: #555;
}


/* ======================================
 PAGINATION
====================================== */

.onlinkme-pagination-wrap ul {
  list-style: none;
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 40px;
  padding-left: 0;
}

.onlinkme-pagination-wrap li a,
.onlinkme-pagination-wrap li span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 14px;
  border: 1px solid #d1d1d1;
  color: #333;
  transition: 0.3s;
}

.onlinkme-pagination-wrap li span.current,
.onlinkme-pagination-wrap li a:hover {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}


/* ======================================
 RESPONSIVE DESIGN
====================================== */

/* Tablet: 2 Columns */
@media (max-width: 1024px) {
  .onlinkme-blog-grid {
      grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: 1 Column */
@media (max-width: 768px) {
  .onlinkme-blog-grid {
      grid-template-columns: 1fr;
  }

  .onlinkme-blog-thumb img {
      height: 190px;
  }

  .onlinkme-blog-title {
      font-size: 18px;
  }
}


/* Category filter wrapper */
.onlinkme-blog-categories {
  display: flex;
  flex-wrap: nowrap !important; /* Force single line */
  gap: 12px;
  overflow-x: auto;              /* Allow horizontal scroll on small screens */
  padding: 10px 0;
  white-space: nowrap;           /* Prevent line breaks */
  scrollbar-width: thin;         /* Firefox */
}

.onlinkme-blog-categories li {
  display: inline-flex !important;
  list-style: none;
  white-space: nowrap;
}

/* Hide default scrollbar on Chrome/Safari */
.onlinkme-blog-categories::-webkit-scrollbar {
  height: 6px;
}
.onlinkme-blog-categories::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 20px;
}
.onlinkme-post-title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.onlinkme-post-title a {
  flex: 1;    color: #11255A;
  font-size: 20px;
  text-decoration: none;
}
.onlinkme-post-title a:hover{color:#2563EB;}

.onlinkme-arrow {
  font-size: 20px;
  font-weight: 600;
  margin-left: 10px;
  color: #000;
  transition: 0.2s ease;
}

.onlinkme-post-title:hover .onlinkme-arrow {
  transform: translateX(4px);
}




/*----------------------------------------------------------------*/

/* WRAPPER */
.onlinkme-latest-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* ========== LEFT BIG POST ========== */
.onlinkme-latest-left {
  width: 100%;
}

.onlinkme-latest-left .onlinkme-latest-thumb img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.onlinkme-latest-meta {
  font-size: 14px;
  color: #267FFF;
  margin: 12px 0;
}

.onlinkme-latest-title,
.onlinkme-latest-title-small {
  font-size: 24px;
  font-weight: 700;
  color: #0d1b2a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.onlinkme-latest-title a,
.onlinkme-latest-title-small a {
  color: #0d1b2a;
  text-decoration: none;
}

.onlinkme-arrow img {
  width: 18px;
  height: 18px;
  display: inline-block;
}

.onlinkme-latest-excerpt {
  font-size: 16px;
  line-height: 1.6;
  margin: 12px 0 18px;
  color: #555;
}

/* TAGS */
.onlinkme-tag-item {
  background: #e8e8e8;
  padding: 6px 14px;
  font-size: 14px;
  border-radius: 20px;
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 8px;
}

/* ========== RIGHT: SMALL POSTS ========== */
.onlinkme-latest-right {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.onlinkme-latest-small {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.onlinkme-latest-thumb-small img {
  width: 150px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.onlinkme-latest-small-content {
  flex: 1;
}

.onlinkme-latest-excerpt-small {
  font-size: 15px;
  color: #555;
  line-height: 1.5;
  margin: 10px 0 15px;
}

/* ========== RESPONSIVE ========== */

/* Tablet */
@media (max-width: 1024px) {
  .onlinkme-latest-wrapper {
      grid-template-columns: 1fr;
      gap: 50px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .onlinkme-latest-small {
      flex-direction: column;
  }

  .onlinkme-latest-thumb-small img {
      width: 100%;
      height: auto;
  }

  .onlinkme-latest-title,
  .onlinkme-latest-title-small {
      font-size: 20px;
  }
}
