@charset "UTF-8";
/* =====================================================
   GLOBAL SAFETY
===================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

/* =====================================================
   BLOG PAGE LAYOUT
===================================================== */

.blog-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

@media (max-width: 480px) {
  .blog-page {
    padding: 0 16px 64px;
  }
}

/* =====================================================
   HEADER
===================================================== */

.blog-header {
  margin-bottom: 32px;
}

.blog-title {
  padding-top: 50px;
  font-weight: 800;
  margin: 0;
  color: #111;
  font-size: clamp(26px, 4vw, 32px);
}

.blog-subtitle {
  margin-top: 12px;
  font-weight: 600;
  color: #222;
  font-size: clamp(18px, 3.5vw, 24px);
}

/* =====================================================
   FILTER BAR
===================================================== */

.blog-filters {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 32px 0 64px;
}

@media (max-width: 768px) {
  .blog-filters {
    flex-direction: column;
    align-items: stretch;
  }
}

/* =====================================================
   SEARCH
===================================================== */

.blog-search {
  position: relative;
  flex: 1;
  max-width: 520px;
}

#blog-search-input {
  width: 100%;
  height: 55px;
  padding: 0 52px 0 18px;
  border-radius: 999px;
  border: 1px solid #d0d0d0;
  font-size: 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

#blog-search-input:focus {
  border-color: #f57c32;
  outline: none;
}

.blog-search-btn {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
}

/* =====================================================
   CATEGORY DROPDOWN
===================================================== */

#blog-category {
  margin-left: auto;
  height: 55px;
  padding: 0 48px 0 18px;
  border-radius: 999px;
  border: 1px solid #d0d0d0;
  font-size: 14px;
  cursor: pointer;
  appearance: none;
  background-color: #fff;
  background-position: right 18px center;
  background-size: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* =====================================================
   BLOG GRID
===================================================== */

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

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

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

/* =====================================================
   BLOG CARD â€“ FINAL & STABLE
===================================================== */

.blog-card {
  border-radius: 20px;
  overflow: hidden;
  background: #f57c32;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  transition: transform 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
}

.blog-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* IMAGE */
.blog-card__image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

/* CONTENT */
.blog-card__content {
  display: flex;
  flex-direction: column;
  padding: 18px 20px;   /* tighter padding */
  background: #f57c32;
   flex: 1; 
}


/* DATE */
.blog-card__date {
  font-family: Arimo, sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 25px;
  color: #000;
}

/* TITLE */
.blog-card__title {
  margin-top: 6px;
  font-family: Arimo, sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.25;
  color: #000;
}

/* =====================================================
   CTA â€“ TRUE BOTTOM RIGHT (NO ABSOLUTE)
===================================================== */

.blog-card__cta {
  margin-top: auto;              /* pushes CTA to bottom */
  align-self: flex-end;          /* right aligned */
  display: inline-flex;
  align-items: center;
  gap: 8px;

  font-family: Arimo, sans-serif;
  font-size: 18px;
  font-weight: 400;
  color:#000000;

  white-space: nowrap;
  transition: transform 0.2s ease;
}

.blog-card__cta .arrow svg {
  width: 26px;
  height: auto;
  display: block;
  transition: transform 0.2s ease;
}

/* HOVER */
.blog-card:hover .blog-card__cta {
  transform: translateX(4px);
}

.blog-card:hover .blog-card__cta .arrow svg {
  transform: translateX(4px);
}

/* =====================================================
   AJAX STATES
===================================================== */

.blog-grid.is-loading {
  opacity: 0.4;
  pointer-events: none;
}

/* =====================================================
   SKELETON LOADER
===================================================== */

.blog-card.skeleton {
  height:auto;
  border-radius: 20px;
  background: linear-gradient(
    90deg,
    #eeeeee 25%,
    #f5f5f5 37%,
    #eeeeee 63%
  );
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
}

@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* =====================================================
   SINGLE BLOG PAGE (UNCHANGED)
===================================================== */

.single-blog-wrapper {
  max-width: 1080px;
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 2.6fr 1fr;
  gap: 32px;
}

@media (max-width: 992px) {
  .single-blog-wrapper {
    grid-template-columns: 1fr;
  }
}
/* =====================================================
   SEARCH ICON BUTTON
===================================================== */

.blog-search-btn {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);

  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

/* SVG ICON */
.blog-search-btn::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* HOVER */
.blog-search-btn:hover::before {
  filter: brightness(0.3);
}

/* FOCUS (ACCESSIBILITY) */
.blog-search-btn:focus {
  outline: none;
}


/* Singele Page CSS STyle Start*/


/* =====================================================
   SINGLE BLOG PAGE (FULL)
===================================================== */

.single-blog-page {
  background: #fff;
}

.single-blog-wrapper {
  max-width: 1120px;
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 2.6fr 0.9fr;
  gap: 32px;
}

@media (max-width: 992px) {
  .single-blog-wrapper {
    grid-template-columns: 1fr;
  }
}

/* Meta */
.blog-section-label {
  font-size: 14px;
  color: #666;
}

.single-blog-title {
  font-size: 32px;
  font-weight: 700;
  margin: 8px 0;
}

.single-blog-date {
  font-size: 14px;
  color: #888;
}

/* Hero Image */
.single-blog-hero img {
  width: 100%;
  height: 50vh;
  object-fit: cover;
  border-radius: 10px;
  margin: 24px 0;
}

/* Author */
.single-blog-author {
  font-size: 16px;
  color: #f36f21;
  font-style: italic;
  margin-bottom: 24px;
}

/* Content */
.single-blog-content {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.single-blog-content p {
  margin-bottom: 20px;
}

/* =====================================================
   SIDEBAR
===================================================== */

.single-blog-sidebar {
  background: #f6f6f6;
  padding: 20px;
  border-radius: 12px;
  position: sticky;
  top: 120px;
}

.sidebar-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.sidebar-post-card {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  background: #f36f21;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  margin-bottom: 16px;
}

.sidebar-post-thumb img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.sidebar-post-meta {
  background: #f36f21;
  text-decoration: none;
  padding: 10px;
}

.sidebar-post-meta h4 {
  font-size: 14px;
  text-decoration: none;
  margin: 0;
}

.sidebar-post-meta span {
  font-size: 12px;
	color:#fff;
  text-decoration: none;
  opacity: 0.9;

}
/* Remove underline from sidebar post links */
.sidebar-post-card {
  text-decoration: none;
  color: inherit;
}

/* Ensure no underline on hover/focus/active */
.sidebar-post-card:hover,
.sidebar-post-card:focus,
.sidebar-post-card:active {
  text-decoration: none;
}

/* Extra safety: kill underline on all children */
.sidebar-post-card * {
  text-decoration: none;
}

/* Single Page CSS STyle End */