/* ========= HRMS HERO ========= */
.hrms-hero {
  position: relative;
  min-height: 100vh;
  color: #ffffff;
  overflow: hidden;
}

/* Background image */
.hrms-hero-bg {
  position: absolute;
  inset: 0;
  background: url("/pages/Images/hrms/HRMS.jpg") center center / cover no-repeat;
  z-index: 1;
}
.recruitment-hero-bg {
  position: absolute;
  inset: 0;
  background: url("/pages/Images/recruitment/recuritment.jpg") center center /
    cover no-repeat;
  z-index: 1;
}
.verification-hero-bg {
  position: absolute;
  inset: 0;
  background: url("/pages/Images/hrms/delivery-concept-portrait-happy-african-american-delivery-man-pointing-hand-present-box-package-isolated-grey-studio-background-copy-space.jpg")
    center center / cover no-repeat;
  z-index: 1;
}

.upskils-hero-bg {
  position: absolute;
  inset: 0;
  background: url("/pages/Images/hrms/upskils.jpg") center center / cover
    no-repeat;
  z-index: 1;
}
/* Dark overlay */
.hrms-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55); /* dark blue/black */
  z-index: 2;
}

.bg {
  background-color: #e9f6ff !important;
}
/* Content on top */
.hrms-hero .container {
  z-index: 3;
}

/* Title */
.hrms-hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
}

/* Button */
.hrms-hero-btn {
  margin-top: 1.5rem;
  padding: 0.8rem 2.4rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  background-color: #1a73ff;
  border-color: #1a73ff;
}

/* Blue dotted pattern bottom-left */
.hrms-dot-pattern {
  position: absolute;
  left: 8%;
  bottom: 12%;
  width: 180px;
  height: 120px;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: 6px;
  z-index: 3;
}

.hrms-dot-pattern::before {
  content: "";
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  background-image: radial-gradient(circle, #2563eb 30%, transparent 32%);
  background-size: 14px 14px;
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .hrms-hero-title {
    font-size: 2.4rem;
  }

  .hrms-dot-pattern {
    left: 6%;
    bottom: 8%;
    width: 150px;
    height: 100px;
  }
}

/* ========= /HRMS HERO ========= */

/* ===== HRMS: Platform section ===== */

.hrms-platform-section {
  background-color: #e9f6ff;
  padding: 60px 0;
  overflow: hidden;
}

.hrms-platform-section .container {
  padding-left: 15px;
  padding-right: 15px;
}

.hrms-platform-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hrms-platform-subtitle {
  max-width: 920px;
  margin: 0 auto 3rem;
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.6;
  padding: 0 15px;
}

.hrms-platform-item {
  max-width: 260px;
  margin: 0 auto;
  padding: 20px 10px;
}

.hrms-platform-icon {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.hrms-platform-heading {
  margin-top: 0.75rem;
  font-size: 1.6rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
}

/* Tablet breakpoint */
@media (max-width: 991.98px) {
  .hrms-platform-section {
    padding: 50px 0;
  }

  .hrms-platform-title {
    font-size: 2.2rem;
    padding: 0 15px;
  }

  .hrms-platform-subtitle {
    font-size: 0.95rem;
    padding: 0 20px;
  }

  .hrms-platform-heading {
    font-size: 1.5rem;
  }
}

/* Mobile breakpoint */
@media (max-width: 767.98px) {
  .hrms-platform-section {
    padding: 40px 0;
  }

  .hrms-platform-section .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .hrms-platform-title {
    font-size: 1.8rem;
    padding: 0 10px;
  }

  .hrms-platform-subtitle {
    font-size: 0.9rem;
    padding: 0 15px;
    margin-bottom: 2.5rem;
  }

  .hrms-platform-icon {
    width: 60px;
    height: 60px;
  }

  .hrms-platform-heading {
    font-size: 1.4rem;
  }

  .hrms-platform-item {
    padding: 15px 10px;
  }
}

/* Small mobile breakpoint */
@media (max-width: 575.98px) {
  .hrms-platform-section {
    padding: 30px 0;
  }

  .hrms-platform-title {
    font-size: 1.6rem;
    padding: 0 10px;
  }

  .hrms-platform-subtitle {
    font-size: 0.85rem;
    padding: 0 10px;
    margin-bottom: 2rem;
  }

  .hrms-platform-icon {
    width: 55px;
    height: 55px;
  }

  .hrms-platform-heading {
    font-size: 1.3rem;
  }

  .hrms-platform-item {
    max-width: 100%;
    padding: 15px 5px;
  }
}

/* Extra small devices */
@media (max-width: 400px) {
  .hrms-platform-section {
    padding: 25px 0;
  }

  .hrms-platform-title {
    font-size: 1.4rem;
  }

  .hrms-platform-subtitle {
    font-size: 0.8rem;
  }

  .hrms-platform-icon {
    width: 50px;
    height: 50px;
  }

  .hrms-platform-heading {
    font-size: 1.2rem;
  }
}
/* ===== /HRMS: Platform section ===== */

/* ===== HRMS: Employee Digital Record ===== */

.emp-record-section {
  background-color: #ffffff;
  padding: 60px 0;
  overflow: hidden;
}

.emp-record-section .container {
  padding-left: 15px;
  padding-right: 15px;
}

.emp-record-title {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.1;
  color: #111827;
  margin-bottom: 1.5rem;
}

.emp-record-text {
  font-size: 1rem;
  color: #4b5563;
  max-width: 560px;
  line-height: 1.6;
}

/* Bullet list */
.emp-record-list {
  margin-top: 1.5rem;
  padding-left: 0;
}

.emp-record-list li {
  display: flex;
  align-items: center;
  font-size: 0.98rem;
  color: #111827;
  margin-bottom: 0.8rem;
}

.emp-record-list i {
  color: #0d6efd;
  font-size: 1rem;
  margin-right: 0.6rem;
  flex-shrink: 0;
}

/* Image card with 3D feel */
.emp-record-image-wrapper {
  max-width: 100%;
  width: 100%;
  padding: 0;
  overflow: hidden;
}

.emp-record-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 16px;
  object-fit: contain;
}

/* Tablet breakpoint */
@media (max-width: 991.98px) {
  .emp-record-section {
    padding: 50px 0;
  }

  .emp-record-title {
    font-size: 2.2rem;
    text-align: center;
  }

  .emp-record-text {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .emp-record-list {
    margin-top: 2rem;
    margin-bottom: 2.5rem;
  }

  .emp-record-image-wrapper {
    margin-top: 2rem;
  }
}

/* Mobile breakpoint */
@media (max-width: 767.98px) {
  .emp-record-section {
    padding: 40px 15px;
  }

  .emp-record-section .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .emp-record-title {
    font-size: 1.8rem;
  }

  .emp-record-text {
    font-size: 0.95rem;
    padding: 0 10px;
  }

  .emp-record-list {
    padding: 0 10px;
  }

  .emp-record-list li {
    font-size: 0.9rem;
  }

  .emp-record-list {
    margin-bottom: 2rem;
  }

  .emp-record-image-wrapper {
    padding: 0 10px;
  }

  .emp-record-image {
    max-width: 100%;
    width: 100%;
  }
}

/* Small mobile breakpoint */
@media (max-width: 575.98px) {
  .emp-record-section {
    padding: 30px 10px;
  }

  .emp-record-section .container {
    padding-left: 5px;
    padding-right: 5px;
    max-width: 100%;
  }

  .emp-record-title {
    font-size: 1.6rem;
    padding: 0 5px;
  }

  .emp-record-text {
    padding: 0 5px;
  }

  .emp-record-list {
    padding: 0 5px;
  }

  .emp-record-image-wrapper {
    padding: 0 5px;
  }

  .emp-record-image {
    border-radius: 12px;
    max-width: 100%;
  }
}

/* Extra small devices */
@media (max-width: 400px) {
  .emp-record-section {
    padding: 25px 5px;
  }

  .emp-record-title {
    font-size: 1.4rem;
  }

  .emp-record-text {
    font-size: 0.9rem;
  }

  .emp-record-list li {
    font-size: 0.85rem;
  }
}
/* ===== HRMS: Final CTA ===== */

.hrms-cta-section {
  background-color: #ffffff;
}

.hrms-cta-title {
  font-size: 2.8rem;
  font-weight: 700;

  color: #0b1220; /* deep navy similar to screenshot */
}

.hrms-cta-btn {
  padding: 0.9rem 2.8rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 10px;
  background-color: #0d6efd; /* bright blue */
  border-color: #0d6efd;
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .hrms-cta-title {
    font-size: 2.1rem;
  }
}

/* =============================== */
/*   ABOUT TRANSFORM SECTION       */
/* =============================== */

.about-transform-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-image: url("/pages/Images/about/about.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-start; /* Changed from center to flex-start */
  padding: 0; /* Removed padding to allow card to start from top */
}

/* Left Card with semi-transparent background */
.about-transform-card {
  max-width: 600px;
  background: rgba(231, 241, 250, 0.92);
  padding: 4rem 3.5rem;
  margin-left: 5%; /* Removed left margin */
  margin-top: 80; /* Starts from top */
  min-height: 0vh; /* Full height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.about-transform-title {
  font-size: 3.4rem;
  line-height: 1.2;
  font-weight: 700;
  color: #0f1a30;
  margin-bottom: 1.5rem;
}

.about-transform-text {
  font-size: 1.1rem;
  color: #334155;
  line-height: 1.65;
  font-weight: 400;
}

/* Responsive */
@media (max-width: 1200px) {
  .about-transform-card {
    max-width: 600px;
    padding: 3.5rem 3rem;
  }

  .about-transform-title {
    font-size: 3rem;
  }
}

@media (max-width: 991px) {
  .about-transform-section {
    min-height: 100vh;
    align-items: center;
  }

  .about-transform-card {
    max-width: 90%;
    margin: 0 auto;
    padding: 3rem 2.5rem;
    min-height: auto;
    background: rgba(231, 241, 250, 0.95);
  }

  .about-transform-title {
    font-size: 2.4rem;
  }

  .about-transform-text {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .about-transform-card {
    max-width: 95%;
    padding: 2.5rem 2rem;
  }

  .about-transform-title {
    font-size: 2rem;
  }

  .about-transform-text {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .about-transform-card {
    padding: 2rem 1.5rem;
  }

  .about-transform-title {
    font-size: 1.75rem;
  }

  .about-transform-text {
    font-size: 0.9rem;
    line-height: 1.6;
  }
}

.our-mission-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  /* background-color: #f8f8f8; */
}

/* Left Content */
.our-mission-content {
  flex: 1;
  padding: 4rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.our-mission-title {
  font-size: 3.5rem;
  font-weight: 700;
  /* color: #2c3e50; */
  margin-bottom: 2rem;
}

.our-mission-text {
  font-size: 1.15rem;
  /* color: #555; */
  line-height: 1.8;
  max-width: 550px;
  font-weight: 400;
}

/* Right Image Container */
.our-mission-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  min-height: 80vh;
}

.our-mission-image img {
  width: 100%;
  max-width: 500px;
  /* height: auto; */
  object-fit: contain;
  border-radius: 8px;
}

/* Responsive */
@media (max-width: 1200px) {
  .our-mission-content {
    padding: 3.5rem 4rem;
  }

  .our-mission-title {
    font-size: 3rem;
  }

  .our-mission-text {
    font-size: 1.1rem;
  }

  .our-mission-image img {
    max-width: 500px;
  }
}

@media (max-width: 991px) {
  .our-mission-section {
    flex-direction: column;
    min-height: auto;
  }

  .our-mission-content {
    padding: 4rem 2.5rem;
  }

  .our-mission-image {
    padding: 2rem;
    min-height: auto;
  }

  .our-mission-image img {
    max-width: 450px;
  }

  .our-mission-title {
    font-size: 2.5rem;
  }

  .our-mission-text {
    font-size: 1.05rem;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .our-mission-content {
    padding: 3rem 2rem;
  }

  .our-mission-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
  }

  .our-mission-text {
    font-size: 1rem;
    line-height: 1.7;
  }

  .our-mission-image {
    padding: 1.5rem;
  }

  .our-mission-image img {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .our-mission-content {
    padding: 2.5rem 1.5rem;
  }

  .our-mission-title {
    font-size: 1.9rem;
  }

  .our-mission-text {
    font-size: 0.95rem;
  }

  .our-mission-image {
    padding: 1rem;
  }
}

/* ===== Our Values Section ===== */

.values-section {
  background-color: #e9f5ff; /* light blue like screenshot */
}

.values-title {
  font-size: 2.8rem;
  font-weight: 700;

  color: #101827;
}

.value-item {
  max-width: 260px;
  margin: 0 auto;
}

.value-icon {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.value-label {
  font-size: 1.6rem;
  font-weight: 700;

  color: #101827;
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .values-title {
    font-size: 2.2rem;
  }

  .value-label {
    font-size: 1.4rem;
  }
}

/* ===== Have Questions Section ===== */

.questions-section {
  background-color: #ffffff;
}

.questions-title {
  font-size: 2.6rem;
  font-weight: 700;

  color: #0f172a;
}

.questions-subtitle {
  font-size: 0.98rem;
  color: #4b5563;
  max-width: 520px;
}

.questions-label {
  font-size: 1.05rem;
  font-weight: 600;
  color: #111827;
}

/* Map box */
.questions-map-wrapper {
  background: #f9fafb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
  max-width: 420px;
}

.questions-map {
  display: block;
  width: 100%;
  height: 260px;
}

/* Right panel background */
.questions-form-panel {
  background-color: #e5f3ff; /* light blue box */
  border-radius: 18px;
  padding: 2.5rem 2rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

/* form inputs */
.questions-form .form-control {
  border-radius: 10px;
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
}

/* dotted decoration in top-right */
/* .questions-dots {
  position: absolute;
  width: 140px;
  height: 140px;
  top: -40px;
  right: -40px;
  background-image: radial-gradient(#1d4ed8 1px, transparent 1px);
  background-size: 10px 10px;
  opacity: 0.6;
  pointer-events: none;
} */

.questions-address {
  font-size: 0.95rem;
  color: #4b5563;
}

/* responsive tweaks */
@media (max-width: 991.98px) {
  .questions-title {
    font-size: 2.2rem;
  }

  .questions-form-panel {
    margin-top: 1rem;
  }

  .questions-map-wrapper {
    max-width: 100%;
  }
}

/* Reset (optional but recommended for hero spacing) */
body {
  margin: 0;
  padding: 0;
}

/* ===============================
   FULL-SCREEN INSIGHTS HERO
   Mobile-first (small screens)
   =============================== */

.insights-hero {
  position: relative;
  width: 100%;
  min-height: 100vh; /* tall on mobile, full screen on desktop below */
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  color: #fff;
  overflow: hidden;

  /* 🔹 MOBILE IMAGE */
  background-image: url("/pages/Images/blogs/blog.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Gradient overlay – mobile: fade from bottom upwards */

.insights-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    #000000 0%,
    rgba(0, 0, 0, 0.9) 35%,
    rgba(0, 0, 0, 0.6) 60%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
}
.insights-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px 60px;
  display: flex;
  align-items: center;
}

.insights-hero-text {
  max-width: 420px;
}

.insights-hero-text h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.insights-hero-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #e5e5e5;
}

.hero-btn {
  display: inline-block;
  padding: 0.75rem 1.9rem;
  border-radius: 999px;
  border: 1px solid #ffffff;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  background: transparent;
  transition: all 0.25s ease;
}

.hero-btn:hover {
  background: #ffffff;
  color: #000000;
}

/* ===============================
   TABLET & DESKTOP (>= 768px)
   Swap gradient direction & adjust layout
   =============================== */
@media (min-width: 768px) {
  .insights-hero {
    min-height: 100vh; /* full screen height */
    align-items: center;
    justify-content: flex-start;

    /* 🔹 DESKTOP IMAGE */
    background-image: url("/pages/Images/blogs/blog.jpg");
    background-position: center right;
  }

  /* Desktop gradient: left -> right black shade */
  .insights-hero-overlay {
    background: linear-gradient(
      to right,
      #000000 0%,
      #000000 35%,
      rgba(0, 0, 0, 0.85) 50%,
      rgba(0, 0, 0, 0.4) 65%,
      rgba(0, 0, 0, 0) 80%
    );
  }

  .insights-hero-content {
    padding: 100px 40px;
  }

  .insights-hero-text h1 {
    font-size: 2.6rem;
  }
}

/* ===============================
   LARGE DESKTOP (>= 992px)
   Slightly bigger text & spacing
   =============================== */
@media (min-width: 992px) {
  .insights-hero-text h1 {
    font-size: 3rem;
  }

  .insights-hero-content {
    padding: 120px 60px;
  }
}

/* Simple header */
.blog-header {
  background: #f4f6fb;
  padding: 16px 0;
}

.blog-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-logo {
  font-weight: 700;
  font-size: 1.4rem;
}

.blog-nav {
  display: flex;
  gap: 24px;
  font-size: 0.95rem;
}

.blog-nav a {
  text-decoration: none;
  color: #111827;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.blog-nav a.active,
.blog-nav a:hover {
  opacity: 1;
}

/* Page container */
.blog-page {
  padding: 90px 0 60px;
}

.blog-container {
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Featured blog card */
.featured-blog-card {
  background-image: #ffffff;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  padding: 24px 24px 32px;
  margin-bottom: 40px;
}

.featured-image-placeholder {
  width: 100%;
  height: 400px;
  border-radius: 14px;
  margin-bottom: 24px;
  background-image: url("/pages/Images/blogs/period\ leave\(1\).jpg");
  background-size: cover; /* make image cover entire box */
  background-position: center; /* center the image */
  background-repeat: no-repeat;
}

.featured-image-wrapper {
  width: 100%;
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 24px;
}

.featured-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* like background-size: cover */
  object-position: top; /* or 50% 20%, etc. to show more head */
}

#img1 {
  background-image: url("/pages/Images/blogs/DHC.webp");
  background-size: cover; /* make image cover entire box */
  background-position: center; /* center the image */
  background-repeat: no-repeat;
}
#img2 {
  background-image: url("/pages/Images/blogs/OtipyPictures.jpg");
  background-size: cover; /* make image cover entire box */
  background-position: center; /* center the image */
  background-repeat: no-repeat;
}
#img3 {
  background-image: url("/pages/Images/blogs/H.jpeg");
  background-size: cover; /* make image cover entire box */
  background-position: center; /* center the image */
  background-repeat: no-repeat;
}

.featured-content {
  max-width: 640px;
}

.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-blue {
  background: #2563eb;
  color: #ffffff;
}

.badge-blue-light {
  background: #e5efff;
  color: #2563eb;
}

.featured-title {
  font-size: 1.8rem;
  margin: 12px 0 8px;
}

.featured-summary {
  font-size: 0.98rem;
  color: #4b5563;
  max-width: 520px;
  margin-bottom: 20px;
}

.featured-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.featured-link .arrow {
  margin-left: 6px;
}

/* Main layout: articles + sidebar */
.blog-main-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 32px;
}

/* Left column: latest articles */
.section-title {
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.article-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 0 0 18px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.article-image-placeholder {
  width: 100%;
  height: 300px;
  background: #e5ebf5;
}

.article-body {
  padding: 14px 16px 16px;
}

.article-title {
  margin: 10px 0 4px;
  font-size: 1rem;
}

.article-snippet {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: #6b7280;
}

.article-link {
  font-size: 0.85rem;
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}

.article-link .arrow {
  margin-left: 4px;
}

/* Sidebar */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
}

.sidebar-label {
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: block;
}

.search-input-wrapper {
  position: relative;
}

.search-input {
  width: 100%;
  padding: 8px 32px 8px 10px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  font-size: 0.9rem;
  outline: none;
}

.search-input:focus {
  border-color: #2563eb;
}

.search-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  opacity: 0.6;
}

.sidebar-heading {
  font-size: 0.98rem;
  margin: 0 0 10px;
}

.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-list li {
  margin-bottom: 6px;
}

.sidebar-list a {
  font-size: 0.9rem;
  text-decoration: none;
  color: #374151;
}

.sidebar-list a:hover {
  color: #2563eb;
}

/* Newsletter */
.newsletter-input {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  font-size: 0.9rem;
  margin-bottom: 10px;
  outline: none;
}

.newsletter-input:focus {
  border-color: #2563eb;
}

.newsletter-btn {
  width: 100%;
  padding: 8px 10px;
  font-size: 0.9rem;
  border-radius: 8px;
  border: none;
  background: #2563eb;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
}

.newsletter-btn:hover {
  background: #1d4ed8;
}

/* =========================
   RESPONSIVE
   ========================= */

/* Medium screens */
@media (max-width: 992px) {
  .blog-main-layout {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.1fr);
  }

  .featured-image-placeholder {
    height: 150px;
  }
}

/* Tablets & small laptops */
@media (max-width: 768px) {
  .blog-header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .blog-nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .featured-blog-card {
    padding: 18px 18px 24px;
  }

  .featured-image-placeholder {
    height: 140px;
  }

  .blog-main-layout {
    grid-template-columns: minmax(0, 1fr); /* stack sidebar below */
  }

  .blog-sidebar {
    max-width: 400px;
  }
}

/* Mobile phones */
@media (max-width: 576px) {
  .blog-container {
    padding: 0 16px;
  }

  .featured-image-placeholder {
    height: 120px;
  }

  .articles-grid {
    grid-template-columns: minmax(0, 1fr); /* one card per row */
  }

  .featured-title {
    font-size: 1.5rem;
  }
}
