/* ========== RESET ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ========== BASE ========== */
body {
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
  color: #111;
}

/* ========== HEADER ========== */
.main-header {
  background: #fff;
  padding: 20px 90px;
}

/* ========== GRID LAYOUT ========== */
.header-grid {
  display: grid;
  /* grid-template-columns: 300px 1fr 260px; */
  grid-template-columns: 240px 1fr 170px;
  grid-template-rows: auto auto;
  gap: 20px;
  align-items: stretch;
}

/* ========== LOGO (LEFT – SPANS ROWS) ========== */
.logo {
  grid-row: 1 / 3;
  background: #e10600;
  color: #fff;
  padding: 40px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo h1 {
  font-size: 48px;
  letter-spacing: 2px;
}

.logo span {
  font-size: 12px;
  margin-top: 6px;
  opacity: 0.9;
}

/* ========== TOP BAR (MIDDLE / TOP) ========== */
.top-bar {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding-bottom: 0px; /* spacing only, no line */
}

.top-left {
  display: flex;
  gap: 16px;
  color: #444;
}

.top-right {
  display: flex;
  gap: 16px;
  align-items: center;
}

.top-right a {
  text-decoration: none;
  color: #111;
}

.search-box {
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 13px;
}

/* ========== CENTER AD (IMAGE-ACCURATE) ========== */
.center-ad {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  display: flex;
  align-items: stretch;
  border: 1px solid #e5e5e5;
  background: #fff;
  height: 100%;
  overflow: hidden;
}

/* LEFT CONTENT */
.ad-left {
  flex: 1;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 40px; /* THIS is the space you want */
}

.ad-left strong {
  font-size: 26px;
  font-weight: 900;
  white-space: nowrap;
}

.ad-text {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #111;
}


/* RIGHT RED ANGLED AREA */
.ad-right {
  position: relative;
  width: 180px;
  background: #e10600; /* red from image */
  display: flex;
  align-items: center;
  justify-content: center;

  /* THIS CREATES THE SLANTED EDGE */
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}

/* BUTTON */
.ad-right button {
  background: #fff;
  color: #111;
  border: none;
  padding: 10px 22px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
}

/* ========== SIDE CARD (RIGHT – SPANS ROWS) ========== */
.side-card {
  grid-row: 1 / 3;
  position: relative;
  overflow: hidden;
  background: #000;
  color: #fff;
}

.side-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
}

.side-card .label {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #e10600;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: bold;
}

.side-card p {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  font-size: 14px;
  line-height: 1.3;
}

/* ========== CATEGORY BAR ========== */
.category-bar {
  background: #fff;
  border-top: 2px solid #eee;
  border-bottom: 2px solid #eee;
  padding: 14px 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Category list */
.category-list {
  list-style: none;
  display: flex;
  gap: 32px;
}

.category-list a {
  text-decoration: none;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #111;
}

.category-list a:hover {
  color: #e10600;
}

/* HOT item */
.hot-item {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #111;
  cursor: pointer;
}

.hot-item span {
  color: red;
  margin-left: 4px;
}
/* mobile responsive */
/* =====================================================
   HIDE MOBILE ELEMENTS BY DEFAULT (DESKTOP)
   ===================================================== */
.mobile-header,
.mobile-menu,
.mobile-overlay {
  display: none;
}

/* =====================================================
   MOBILE ONLY STYLES
   ===================================================== */
@media (max-width: 768px) {

  /* Hide desktop header & category bar ONLY on mobile */
  .main-header,
  .category-bar {
    display: none;
  }

  /* ================= MOBILE HEADER ================= */
  .mobile-header {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: #e10600;
    z-index: 1001;

    align-items: center;
    justify-content: center;
  }

  .menu-btn {
    position: absolute;
    left: 15px;
    background: none;
    border: none;
    font-size: 26px;
    color: #fff;
    cursor: pointer;
  }

  .mobile-logo {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
  }

  /* ================= SIDE MENU ================= */
  .mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    background: #fff;
    z-index: 1002;

    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  /* .mobile-menu ul {
    list-style: none;
    margin-top: 60px;
  } */
   .mobile-menu ul {
  list-style: none;
}


  .mobile-menu li {
    border-bottom: 1px solid #eee;
  }

  .mobile-menu a {
    display: block;
    padding: 15px 20px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    color: #111;
  }

  /* ================= OVERLAY ================= */
  .mobile-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1000;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  /* ================= ACTIVE STATES ================= */
  .mobile-menu.show {
    transform: translateX(0);
  }

  .mobile-overlay.show {
    opacity: 1;
    pointer-events: auto;
  }

  /* Prevent content hiding under fixed header */
  body {
    padding-top: 50px;
  }
}
/* ===== MOBILE MENU HEADER ===== */
.mobile-menu-header {
  height: 50px;
  padding: 0 15px;
  background: #e10600;
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-menu-header span {
  font-size: 16px;
  font-weight: 700;
}

.close-btn {
  background: none;
  border: none;
  font-size: 22px;
  color: #fff;
  cursor: pointer;
}



/* ================= FOOTER ================= */
.site-footer {
  background: radial-gradient(circle at top, #2a2a2a, #000);
  color: #fff;
  padding: 60px 90px 30px;
}

/* ===== TOP FOOTER ===== */
.footer-top {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
}

.footer-column h3 {
  text-transform: uppercase;
  font-size: 16px;
  margin-bottom: 20px;
}

.footer-column ul {
  list-style: none;
}
.footer-column ul a {
  color: inherit;      /* takes the color from h3 */
  text-decoration: none;
}

.footer-column li {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 14px;
  color: #ddd;
}

/* Newsletter */
.newsletter p {
  font-size: 13px;
  margin-bottom: 16px;
  color: #ccc;
}

.newsletter input {
  width: 100%;
  padding: 12px;
  border: none;
  margin-bottom: 10px;
}

.newsletter button {
  width: 100%;
  padding: 12px;
  background: #e10600;
  color: #fff;
  border: none;
  font-weight: bold;
  cursor: pointer;
}

/* ===== DIVIDER ===== */
.footer-divider {
  margin: 50px 0 30px;
  height: 4px;
  background: rgba(255,255,255,0.15);
}

/* ===== BOTTOM FOOTER ===== */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* Logo */
.footer-logo strong {
  display: block;
  background: #e10600;
  padding: 20px 24px;
  font-size: 28px;
}

.footer-logo span {
  display: block;
  font-size: 12px;
  margin-top: 6px;
}

/* Social */
.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: #00bfc4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

/* Links */
.footer-links a {
  margin-left: 20px;
  font-size: 13px;
  color: #ccc;
  text-decoration: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .site-footer {
    padding: 40px 20px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-links a {
    margin-left: 10px;
    margin-right: 10px;
  }
}



/* 1st section */
/* ================= FEATURED SECTION ================= */
.featured-section {
  padding: 40px 90px;
  background: #fff;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

/* Post card */
.post-card {
  background: #fff;
  border: 1px solid #eee;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.post-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* Large card */
.post-card.large {
  grid-row: 1 / 3;
}

.post-card.large img {
  height: 500px;
}

/* Content */
.post-content {
  padding: 16px;
}

.post-category {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #e10600;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.post-category.red {
  color: #e10600;
}

.post-content h2 {
  font-size: 20px;
  line-height: 1.3;
}
.post-content h2 a {
  color: inherit;      /* takes the color from h3 */
  text-decoration: none;
}


.post-content h3 {
  font-size: 16px;
  line-height: 1.4;
}
.post-content h3 a {
  color: inherit;      /* takes the color from h3 */
  text-decoration: none;
}
/* ===== HORIZONTAL POST CARD (4th card) ===== */
.post-card.horizontal {
  flex-direction: row;
   grid-column: span 2; /* Make this card span across two columns */
  grid-row: 2; /* Place this card in the second row */
}

.post-card.horizontal img {
  width: 50%;
  height: 265px;
}

.post-card.horizontal .post-content {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  /* Featured Section */
  .featured-section {
    padding: 20px;  /* Reduce padding for smaller screens */
  }

  /* Featured Grid */
  .featured-grid {
    grid-template-columns: 1fr; /* Stack all cards in a single column */
    grid-template-rows: auto;
  }

  /* Post Card */
  .post-card {
    margin-bottom: 20px; /* Add margin between cards */
  }

  /* Large Card */
  .post-card.large {
    grid-row: auto;  /* Allow the large card to stack normally */
  }

  .post-card.large img {
    height: 300px;  /* Reduce height of the large image */
  }

  /* Horizontal Card */
  .post-card.horizontal {
    flex-direction: column; /* Stack content vertically */
    grid-column: 1; /* Make the horizontal card span one column */
    width: 100%; /* Ensure it takes full width */
  }

  .post-card.horizontal img {
    width: 100%; /* Adjust image to take full width */
    height: 200px; /* Reduce the height of the image */
  }

  .post-card.horizontal .post-content {
    width: 100%; /* Make the content section take the full width */
    padding: 16px;  /* Adjust padding for smaller screens */
  }

  /* Post Content */
  .post-content h2 {
    font-size: 18px; /* Reduce font size */
    line-height: 1.4; /* Improve line spacing */
  }

  .post-content h3 {
    font-size: 14px; /* Reduce font size for h3 */
    line-height: 1.4;
  }

  /* Post Category */
  .post-category {
    font-size: 10px; /* Smaller font for categories */
  }
}



/* 2nd section */
/* ================= TRENDING BAR ================= */
.trending-bar {
  background: #fff;
  padding: 20px 140px;
}

.trending-inner {
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  border: 1px solid #eee;
}

/* LEFT */
.trending-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.trending-label {
  background: #e10600;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  text-transform: uppercase;
}

.trending-text {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 700px;
}

/* RIGHT */
.trending-nav {
  display: flex;
  gap: 6px;
}

.trending-nav button {
  width: 32px;
  height: 32px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  font-size: 18px;
  color: #999;
}

.trending-nav button:hover {
  background: #f0f0f0;
}
/* mobile responsive */
/* ================= TRENDING BAR – MOBILE ================= */
@media (max-width: 768px) {

  .trending-bar {
    padding: 12px 16px;
  }

  .trending-inner {
    padding: 12px 14px;
  }

  .trending-left {
    gap: 10px;
    flex: 1;
  }

  .trending-label {
    font-size: 11px;
    padding: 5px 8px;
    white-space: nowrap;
  }

  .trending-text {
    font-size: 13px;
    max-width: 100%;
    white-space: normal;   /* allow wrapping on mobile */
    line-height: 1.4;
  }

  .trending-nav {
    gap: 4px;
  }

  .trending-nav button {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }
}



/* 3rd section */
/* ================= FIRST ROW ================= */
.first-row {
  padding: 40px 90px;
  background-color: #fff;
}

.row-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns */
  gap: 20px;
}

.column {
  background: #fff;
  box-shadow: #444;
  padding: 16px;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative; /* For overlay positioning */
}

/* First column: image, title, and paragraph */
.first-column h3 {
  font-size: 18px;
  font-weight: 700;
  color: #e10600;
  margin-bottom: 10px;
}

.first-column img {
  width: 100%;
  height: 250px; /* Fixed size for first column image */
  object-fit: cover;
  margin-bottom: 10px;
}

.first-column p {
  font-size: 15px;
  color: #141313;
  text-align: center;
  font-weight: 700;
}
.first-column p a {
  color: inherit;      
  text-decoration: none;
}
/* For columns 2 and 3: Full image with overlay */
.second-third-column {
  position: relative;
  overflow: hidden;  /* Ensures the image does not overflow outside the container */
   padding: 0px;
}

.second-third-column img {
  width: 100%;  /* Image should cover the full container */
  height: 100%; /* Image should take the full height */
  object-fit: cover; /* Make sure the image covers the entire area */
  display: block; /* Prevents any space under the image */
  margin: 0; /* Ensures no margin around the image */
}

.second-third-column .overlay {
  position: absolute;
  top: 80%; /* Center the overlay vertically */
  left: 40%; /* Center the overlay horizontally */
  transform: translate(-50%, -50%); /* Centering the overlay */
  background-color:#fff; /* Semi-transparent white background */
  padding: 10px;
  text-align: center;
  width: 80%; /* Width of the overlay */
}

.overlay h3 {
  font-size: 16px;
  color: #e10600;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: left;
}

.overlay p {
  font-size: 15px;
  font-weight: 700;
  color: #0a0a0a;
  text-align: left;
  text-transform: uppercase;
}
.overlay p a {
  color: inherit;      /* takes the color from h3 */
  text-decoration: none;
}


/* ================= 4TH COLUMN - AD BANNER ================= */
.ad-banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;  /* Ensures the text and button are centered */
  background: #fff;
  padding: 20px 16px;
  border: 1px solid #eee;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Optional: subtle shadow */
  position: relative;
}

/* Small image at the top of the ad banner */
.ad-banner .ad-image {
  width: 150px; /* Adjust width to fit the design */
  height: 150px; /* Adjust height to fit the design */
  object-fit: cover; /* Ensure the image maintains its aspect ratio */
  margin-bottom: 15px;
}

/* Title (strong text) */
.strong-text {
  font-size: 24px;
  font-weight: 700;
  color: #e10600;
  margin-bottom: 15px;
  text-transform: uppercase;
}

/* Description text */
.description-text {
  font-size: 16px;
  color: #444;
  margin-bottom: 20px;
  font-weight: 600;
  line-height: 1.4;
}

/* Buy Now button */
.cta-button {
  background: #e10600; /* Red */
  color: #fff;
  padding: 12px 25px;
  border: none;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 20px;
  margin-top: 10px;
  position: relative;
  overflow: hidden;
}

/* Right angled background for the button */
.cta-button::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #e10600;
  transform: skewX(45deg); /* Creates the right angle */
  z-index: -1; /* Places the background behind the text */
}

.cta-button:hover {
  background: #e10600; /* Darker red on hover */
}

.cta-button:focus {
  outline: none;
}
/* ================= MOBILE STYLES (Below 768px) ================= */
@media (max-width: 768px) {
  /* ================= Adjusting Layout ================= */
  .first-row {
    padding: 12px 16px;
  }
  .row-container {
    grid-template-columns: 1fr;  /* Stack all columns in a single column layout on mobile */
  }

  .column {
    padding: 12px; /* Reduce padding in columns for better spacing on mobile */
  }

  /* ================= First Column ================= */
  .first-column h3 {
    font-size: 16px; /* Adjust font size for better readability */
    margin-bottom: 8px;
  }

  .first-column img {
    width: 100%;
    height: 180px; /* Adjust height for images in first column */
    object-fit: cover;
    margin-bottom: 8px;
  }

  .first-column p {
    font-size: 14px; /* Reduce font size of paragraph */
    text-align: center;
  }

  /* ================= Columns 2 and 3 (Images with Overlay) ================= */
  .second-third-column {
    position: relative;
    width: 100%;  /* Ensure images take the full width */
    margin-bottom: 15px; /* Space out the columns */
  }

  .second-third-column img {
    width: 100%;  /* Image should cover full container */
    height: 100%; /* Reduce height for mobile screens */
    object-fit: cover;
  }

  .second-third-column .overlay {
    position: absolute;
    bottom: 30px; /* Position overlay near bottom */
    left: 48%;
    transform: translateX(-50%);
    padding: 10px;
    width: 90%; /* Make overlay width smaller on mobile */
  }

  .overlay h3 {
    font-size: 14px; /* Adjust overlay title size */
  }

  .overlay p {
    font-size: 12px; /* Adjust overlay paragraph size */
  }

  /* ================= 4th Column - Ad Banner ================= */
  .ad-banner {
    padding: 20px;
    box-shadow: none;  /* Remove shadow for mobile to save space */
    text-align: center;
    order: 4;
  }

  .ad-banner .ad-image {
    width: 120px; /* Adjust image size */
    height: 120px;
    margin-bottom: 15px;
  }

  .strong-text {
    font-size: 20px;  /* Smaller text size for the title */
    margin-bottom: 10px;
  }

  .description-text {
    font-size: 14px; /* Adjust paragraph size */
    margin-bottom: 15px;
  }

  .cta-button {
    padding: 12px 20px;  /* Adjust button padding */
    font-size: 14px;  /* Smaller font size for mobile */
    width: 100%; /* Make button stretch to full width */
  }

  /* Remove the right-angled background in button */
  .cta-button::after {
    transform: skewX(0deg);  /* Remove the skew effect */
  }

  /* ================= Adjust Grid for Mobile ================= */
  .row-container {
    grid-template-columns: 1fr;  /* Ensure everything is stacked in one column */
    gap: 15px;
  }
}

/* ================= Must Read Column ================= */
.must-read-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;  /* Align text to the left */
  background: #fff;
  padding: 10px 16px;
  border: 1px solid #eee;
  /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
  position: relative;
}

.must-read-column h3 {
  font-size: 24px;
  font-weight: 700;
  color: #e10600;
  margin-bottom: 20px;
  text-transform: uppercase;
}

/* Box styling for each item */
.must-read-box {
  display: flex;
  gap: 10px;  /* Space between the image and text */
  margin-bottom: 10px;
  /* background-color: #fff; */
  border: 1px solid #eee;
  padding: 15px;
  /* box-shadow: 0 0 8px rgba(0, 0, 0, 0.1); */
}

/* Image in each box */
.must-read-img {
  width: 70px;  /* Adjust image size */
  height: 70px;
  object-fit: cover;
}

/* Text in each box */
.must-read-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.must-read-text h4 {
  font-size: 13px;
  font-weight: 700;
  color: #111;
  line-height: 1.4;
  margin-bottom: 8px;
}

.must-read-text p {
  font-size: 10px;
  font-weight: 600;
  color: #444;
  line-height: 1.4;
}
.must-read-text p a {
  color: inherit;      /* takes the color from h3 */
  text-decoration: none;
}

/* ================= Stay in Touch Column ================= */
.stay-in-touch-column {
  background-color: #a8d8d8; /* Light blue background */
  padding: 30px 20px;
  border-radius: 1px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.stay-in-touch-column h3 {
  font-size: 24px;
  font-weight: 700;
  color: #111;
  margin-bottom: 29px;
  text-transform: uppercase;
}

.stay-in-touch-column p {
  font-size: 16px;
  color: #444;
  margin-bottom: 30px;
}

.email-input {
  width: 80%;
  padding: 12px 18px;
  font-size: 14px;
  border-radius: 5px;
  border: 1px solid #ddd;
  margin-bottom: 40px;
}

.sign-up-button {
  background-color: #e10600; /* Red background */
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 19px 25px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
}

.sign-up-button:hover {
  background-color: #e10600; /* Darker red on hover */
}









/* 4th section */




/* 5th section */
/* ================= CATEGORY CARDS ================= */
.category-cards {
  padding: 40px 90px;
}

.cards-grid {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Category column */
.category-column {
  flex: 1;
  text-align: center;
}

/* Category header (Category name + line on the right) */
.category-header {
  display: flex;
  /* justify-content: center; */
  align-items: center;
  margin-bottom: 16px;
}

.category-header h3 {
  font-size: 18px;
  font-weight: 700;
  margin-right: 10px;
  text-transform: uppercase;
  color: #111;
}

.category-line {
  width: 240px;
  height: 4px;
  background-color: #eee; /* Red color */
}

/* Card */
.category-card {
  background: #fff;
  border: 1px solid #eee;
  position: relative;
  overflow: hidden;
}

.category-card img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

/* Title over image */
.category-card h3 {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.5); /* Background for text */
  padding: 10px;
  margin: 0;
  text-transform: uppercase;
  z-index: 1;
}
.category-card h3 a {
  color: inherit;      /* takes the color from h3 */
  text-decoration: none;
}


/* ================= RESPONSIVE ================= */
/* ================= MOBILE – CATEGORY CARDS ================= */
@media (max-width: 768px) {
  /* Cards container - center and remove extra padding */
  .cards-grid {
    gap: 20px; /* Set the gap between cards */
    justify-content: center; /* Center the cards */
    padding-left: 0; /* Remove excessive left padding */
    padding-right: 0; /* Remove excessive right padding */
  }

  /* Category column should take up full width */
  .category-column {
    width: 100%; /* Full width per column */
    margin-bottom: 30px; /* Space between each card */
  }
  .category-cards {
  padding: 12px 16px;
}

  /* Increase image height to make it larger */
  .category-card img {
    height: 400px; /* Larger image for mobile view */
    width: 100%; /* Ensure the image is full width */
  }

  /* Adjust category name (h3) size on mobile */
  .category-header h3 {
    font-size: 18px; /* Larger category name on mobile */
    margin-bottom: 8px; /* Space between name and line */
  }

  /* Adjust category line width for mobile */
  .category-line {
    width: 180px; /* Slightly shorter line for mobile */
    height: 4px; /* Line height */
    margin: 0 auto; /* Center the line */
  }

  /* Title on image - large text */
  .category-card h3 {
    font-size: 22px; /* Larger title font */
    padding: 15px; /* Padding for title to be readable */
  }
}







/* 6th section */
/* ================= LATEST ARTICLES ================= */
.latest-articles {
  padding: 40px 90px;
}

.section-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  margin-right: 20px;
}

.heading-line {
  height: 4px;
  flex-grow: 1;
  background-color: #eee; /* Red color */
}

.articles-grid {
  display: flex;
  flex-wrap: wrap; /* Allow articles to wrap to next line */
  gap: 20px;
  justify-content: space-between; /* Even spacing between articles */
}

/* Article card */
.article-card {
  background: #fff;
  border: 1px solid #eee;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 23%; /* Control the width for 4 items per row */
  box-sizing: border-box;
}

.article-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Content */
.article-content {
  padding-top: 16px;
}

.article-category {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #e10600;
  text-transform: uppercase;
  margin-bottom: 8px;
  margin-left: 8px;
}

.article-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: #111;
  line-height: 1.4;
  text-transform: uppercase;
  margin-bottom: 12px;
  margin-left: 8px;
  font-family: Arial, Helvetica, sans-serif;
}
.article-content h3 a {
  color: inherit;      /* takes the color from h3 */
  text-decoration: none;
}


/* ================= RESPONSIVE ================= */
/* ================= LATEST ARTICLES – MOBILE ================= */
@media (max-width: 768px) {
  
  .latest-articles {
    padding: 20px 16px; /* Adjust padding for mobile */
  }

  .section-header {
    margin-bottom: 15px; /* Adjust header margin */
  }

  .section-header h2 {
    font-size: 20px; /* Slightly smaller heading on mobile */
    margin-right: 10px;
  }

  .heading-line {
    height: 3px;
  }

  .articles-grid {
    display: flex;
    flex-direction: column; /* Stack articles vertically */
    gap: 20px; /* Add gap between articles */
  }

  /* Article card */
  .article-card {
    width: 100%; /* Full width for each card on mobile */
    padding: 0 10px; /* Small padding inside the cards */
  }

  .article-card img {
    height: 200px; /* Adjust image height for mobile */
    object-fit: cover;
  }

  .article-category {
    font-size: 11px; /* Smaller category text */
    margin-left: 10px;
  }

  .article-content h3 {
    font-size: 14px; /* Smaller title font */
    margin-left: 10px;
    text-transform: none; /* Remove uppercase for smaller screens */
  }
}



/* category page */
/* ===================== CATEGORY NAVIGATION ===================== */
.category-navigation {
  padding: 20px 90px;
  background-color: #fff;
  /* border-bottom: 2px solid #eee; */
}

/* Breadcrumb */
.breadcrumb {
  font-size: 14px;
  color: #e10600;
}

.breadcrumb a {
  text-decoration: none;
  color: #e10600;
  font-weight: bold;
}

.breadcrumb span {
  color: #333;
}

/* Divider Line after Breadcrumb */
.category-navigation .breadcrumb {
  border-bottom: 4px solid #eee;
  padding-bottom: 18px;
  margin-bottom: 20px;
}

/* Category Title */
.category-title {
  font-size: 36px;
  font-weight: bold;
  color: #111;
}

/* Category Links */
.category-links {
  margin-top: 20px;
}

.category-link {
  display: inline-block;
  background-color: #e10600;
  color: #fff;
  padding: 10px 20px;
  font-weight: bold;
  text-transform: uppercase;
  margin-right: 15px;
  border-radius: 20px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.category-link:hover {
  background-color: #e10600;
}

/* ===================== MOBILE STYLES ===================== */
@media (max-width: 768px) {
  .category-navigation {
    padding: 20px 16px; /* Reduce padding for smaller screens */
  }

  /* Breadcrumb */
  .breadcrumb {
    font-size: 12px; /* Adjust font size for smaller screens */
  }

  .breadcrumb a {
    font-size: 12px; /* Smaller font size for links */
  }

  .breadcrumb span {
    font-size: 12px; /* Adjust span font size */
  }

  /* Divider Line after Breadcrumb */
  .category-navigation .breadcrumb {
    border-bottom: 2px solid #eee; /* Make the line thinner */
    padding-bottom: 12px; /* Reduce padding */
    margin-bottom: 16px; /* Adjust margin for smaller screens */
  }

  /* Category Title */
  .category-title {
    font-size: 28px; /* Make the title smaller on mobile */
    text-align: center; /* Center the title on mobile screens */
  }

  /* Category Links */
  .category-links {
    margin-top: 15px;
    text-align: center; /* Center the category links */
  }

  .category-link {
    display: inline-block;
    background-color: #e10600;
    color: #fff;
    padding: 8px 16px; /* Reduce padding for smaller buttons */
    font-weight: bold;
    text-transform: uppercase;
    margin: 8px 10px; /* Adjust margin to fit better */
    border-radius: 20px;
    text-decoration: none;
    transition: background-color 0.3s;
  }

  .category-link:hover {
    background-color: #e10600;
  }
}



/* ===================== MODELS LIST ===================== */
.models-list-section {
  background: #fff;
  padding: 16px;
  border: 1px solid #eee;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px; /* Smooth rounded corners */
  font-family: Arial, Helvetica, sans-serif;
}

.models-title {
  font-size: 20px;
  font-weight: 700;
  color: #111;
  margin-bottom: 30px;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
}

.models-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
}

.models-name {
  font-size: 16px;
  color: #111;
  font-weight: 600;
}
.models-name a {
  color: inherit;      /* takes the color from h3 */
  text-decoration: none;
}

.models-count {
  font-size: 14px;
  color: #999;
  font-weight: 400;
}



/* detail page */
/* ===================== DETAIL PAGE ===================== */
.detail-page {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr; /* Left column (1st), center column (2nd), right column (3rd) */
  gap: 30px;
  padding: 30px 90px; /* Updated padding */
  background-color: #fff;
}

/* First Column: Meta Information (Date, Author, Socials) */
.left-column {
  background-color: #f4f4f4;
  padding: 20px;
  /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
  border-radius: 8px;
}

/* Post Date */
.post-date {
  font-size: 16px;
  font-weight: bold;
  color: #111;
  margin-bottom: 20px;
}

/* Author Section */
.author-section {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.author-image {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-right: 15px;
}

.author-name {
  font-size: 16px;
  font-weight: bold;
  color: #e10600;
}
.author-name a {
  color: inherit;      /* takes the color from h3 */
  text-decoration: none;
}

/* Social Share Section */
.social-share {
  display: flex;
  gap: 10px;
}

.social-btn {
  /* background-color: #e10600; */
  color: #fff;
  /* padding: 1px 1px; */
  font-weight: bold;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.social-btn:hover {
  background-color: #e10600;
}
/* ===================== SECOND ROW IN FIRST COLUMN ===================== */
.second-row {
  margin-top: 40px; /* Add some space before this section */
}

.post-container {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.post-thumbnail {
  margin-bottom: 10px; /* Space between image and the content below */
}

.post-image {
  width: 100%; /* Image takes full width of the container */
  height: auto;
  object-fit: cover; /* Ensure image fits the container correctly */
  border-radius: 8px; /* Optional: round the corners of the image */
}

.post-info {
  padding-top: 10px; /* Add some padding at the top */
}

.post-category {
  font-size: 12px;
  color: #e10600;
  font-weight: bold;
  margin-bottom: 5px;
}

.post-title {
  font-size: 16px;
  font-weight: bold;
  color: #111;
}
.post-title a {
  color: inherit;      /* takes the color from h3 */
  text-decoration: none;
}

/* 2nd coulmn */
/* ===================== SECOND COLUMN (MAIN CONTENT) ===================== */
.main-content {
  padding: 20px;
  margin-top: 40px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.article-title {
  font-size: 32px;
  font-weight: bold;
  color: #111;
  margin-bottom: 20px;
}

.article-thumbnail {
  margin-bottom: 20px;
}

.article-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.social-share {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  justify-content: center;
}

.social-btn {
  background-color: #fff;
  padding: 8px 12px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s;
  
}

.social-btn img {
  width: 20px;
  height: 20px;
}

.social-btn:hover {
  background-color: #e10600;
}

.article-body {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.quote-section {
  background-color: #f4f4f4;
  padding: 15px;
  border-left: 5px solid #e10600;
  margin-top: 30px;
  margin-bottom: 30px;
}

blockquote {
  font-size: 18px;
  font-style: italic;
  color: #333;
  margin: 0;
}

/* third coulmn */
/* ===================== THIRD COLUMN (RIGHT COLUMN) ===================== */
.right-column {
  padding: 20px;
  border-radius: 8px;
  /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
  background-color: #fff;
}

/* ===================== MOBILE RESPONSIVENESS ===================== */
@media (max-width: 768px) {
  /* Detail Page: Adjust grid layout */
  .detail-page {
    grid-template-columns: 1fr; /* Stack columns vertically on mobile */
    padding: 20px; /* Reduce padding for smaller screens */
  }

  /* Second Column (Main Content) first on mobile */
  .main-content {
    order: 1; /* Display second column first */
    padding: 15px;
    margin-top: 0px;
  }

  /* First Column (Meta Information) second on mobile */
  .left-column {
    order: 2; /* Display first column second */
    padding: 15px;
    margin-bottom: 20px; /* Add some space between columns */
  }

  /* Third Column (Right Column) last on mobile */
  .right-column {
    order: 3; /* Display third column last */
    padding: 15px;
    margin-top: 20px; /* Space between columns */
  }

  /* Left Column: Adjusted styles */
  .author-section {
    flex-direction: column; /* Stack the author image and name vertically on mobile */
    align-items: center; /* Align items to the left */
  }

  .author-image {
    width: 50px; /* Adjust image size for mobile */
    height: 50px;
  }

  .author-name {
    font-size: 14px; /* Adjust font size for mobile */
  }

  .social-share {
    gap: 8px; /* Reduce gap between social buttons */
  }

  .social-btn {
    padding: 6px 10px; /* Adjust button padding for mobile */
  }

  /* Second Row in Left Column */
  .post-container {
    padding: 15px;
    margin-bottom: 20px; /* Add space between the posts */
  }
  .post-date{
    display: none;
  }

  .post-category {
    font-size: 14px; /* Adjust font size for category */
  }

  .post-title {
    font-size: 18px; /* Adjust font size for title */
  }

  /* Second Column (Main Content) Adjustments */
  .article-title {
    font-size: 24px; /* Adjust title font size */
    margin-bottom: 15px;
  }

  .article-body {
    font-size: 14px; /* Adjust text size for mobile */
    line-height: 1.5; /* Adjust line height for readability */
  }

  .social-share {
    gap: 10px; /* Reduce the gap between social buttons */
  }

  /* Quote Section */
  .quote-section {
    padding: 12px;
    margin-top: 20px;
  }

  blockquote {
    font-size: 16px; /* Adjust font size for quote */
  }

}



/* author page */
/* ================= AUTHOR HEADER ================= */
.author-header-wrap {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 30px 0;
  border-bottom: 4px solid #eee;
  margin-bottom: 10px;
}

/* Photo */
.author-photo-box img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
}

/* Text */
.author-kicker {
  font-size: 13px;
  font-weight: 700;
  color: #e10600;
  text-transform: uppercase;
}

.author-fullname {
  font-size: 36px;
  font-weight: 900;
  margin: 6px 0 10px;
  color: #111;
}

.author-bio-line {
  font-size: 15px;
  color: #555;
  max-width: 520px;
  line-height: 1.6;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .author-header-wrap {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .author-photo-box img {
    width: 90px;
    height: 90px;
  }

  .author-fullname {
    font-size: 26px;
  }
}