* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}
.container {
  padding-top: 122px; /* Or whatever height your header is */
}

/* a tag try ...   */

/* header...    */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background-color: white;
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
  border-bottom: solid 1px #dfdfdf;
}

.border-line {
  height: 1px;
  width: 100%;
}

.line1 {
  background-color: #dfdfdf;
  margin-bottom: 2px;
}

.line2 {
  background-color: #dfdfdf; /* middle darker line */
  margin-bottom: 2px;
  margin-top: 2px;
}

.line3 {
  background-color: #dfdfdf; /* bottom darkest line */
}

.top-logo {
  text-align: center;
  border-bottom: solid 1px black;
}

.mobile-toggle-btn {
  display: none;
}

.top-logo img {
  height: 70px;
  width: 450px;
}

.nav-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 24px;
  border-bottom: 1px solid #ccc;
}

.left,
.middle,
.right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.edition-label {
  font-size: 12px;
  color: #333;
}
.edition {
  font-size: 12px;
}

.location {
  font-size: 12px;
  font-weight: bold;
}

.middle a {
  text-decoration: none;
  color: #000;
  margin: 0 6px;
  font-size: 14px;
}

.right {
  gap: 16px;
}

.login {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
}

.logo {
  font-family: serif;
  font-size: 18px;
  font-weight: bold;
}

.subscribe {
  font-size: 14px;
}

.pdf-btn {
  border: 1px solid black;
  padding: 2px 6px;
  font-size: 12px;
  border-radius: 4px;
  background: none;
  cursor: pointer;
}

.icon {
  font-size: 16px;
  cursor: pointer;
}

/* sidebar ...    */
.sidebar {
  width: 300px;
  border-right: 1px solid #ccc;
  padding: 20px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #1f2c56;
  margin-bottom: 20px;
}

/* st logo  .,..   */
.before\:header-subscribe-item:before {
  content: url("path-to-your-image."); /* Image URL */
  width: 14px; /* Adjust the width */
  height: auto; /* Ensure the image scales correctly */
  padding-right: 5px; /* Space between the image and the text */
  padding-top: 10px; /* Adjust if needed */
  position: relative;
  top: 0;
  right: 1px;
}

.logok {
  height: 12px;
  width: auto;
  display: inline-block;
  margin-bottom: 0px;
}

.search-box {
  display: flex;
  margin-bottom: 20px;
}

.search-box input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 20px;
}

.search-box button {
  background: none;
  border: none;
  margin-left: -30px;
  cursor: pointer;
}

.menu-section {
  border-top: 1px solid #ddd;
  padding: 10px 0;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 8px 0;
}

.menu-item:hover {
  font-weight: bold;
}

.dropdown {
  display: none;
  padding-left: 15px;
}

.dropdown a {
  display: block;
  padding: 5px 0;
  text-decoration: none;
  color: #333;
}

.dropdown a:hover {
  text-decoration: underline;
}

.pdf-tag {
  display: inline-block;
  padding: 2px 6px;
  border: 1px solid #000;
  font-size: 12px;
  margin-left: 5px;
}

.sidebar {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background-color: white;
  z-index: 1000;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
  padding: 20px;
  overflow-y: auto;
  transition: all 0.3s ease;
}

.sidebar.active {
  display: block;
}

/* Dropdowns */
.dropdown {
  display: none;
  margin-left: 15px;
  margin-top: 5px;
}

.dropdown.show {
  display: block;
}

.menu-item {
  cursor: pointer;
  margin: 10px 0;
}
.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
}

.close-btn {
  margin-right: -9px;
  margin-bottom: 23px;
  font-size: 14px;
  cursor: pointer;
}
.sidebar-links {
  padding: 20px;
  font-family: sans-serif;
  max-width: 300px;
}

.section {
  margin-bottom: 20px;
}

.heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 15px;
}

.link-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 14px;
  cursor: pointer;
}

.link-item img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 15px 0;
}
.sph {
  width: 50px;
  height: 50px;
}

@media (max-width: 768px) {
  .nav-bottom {
    display: none;
  }

  .top-logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background-color: white;
  }

  .top-logo img {
    width: 334px;
    height: 40px;
  }

  .mobile-toggle-btn {
    font-size: 24px;
    cursor: pointer;
    display: inline-block;
  }

  #sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 9999;
    overflow-y: auto;
    transition: right 0.3s ease-in-out;
  }

  #sidebar.active {
    right: 0;
  }
  .container {
    padding-top: 59px;
  }
}

/* Mobile Nav Panel */
.mobile-nav-panel {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100vw;
  height: 100vh;
  background-color: #fff;
  z-index: 9999;
  overflow-y: auto;
  transition: left 0.3s ease;
}

/* When sidebar is active */
.mobile-nav-panel.active {
  left: 0;
}

/* Header inside mobile nav */
.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: #f1f1f1;
}

/* Overlay */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 9998;
}

#overlay.active {
  display: block;
}

/* Hide in desktop */
@media (min-width: 768px) {
  .mobile-nav-panel {
    display: none;
  }
}

/* top stories ...   */
.top-stories-bar {
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 12px 20px;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0px;
}

.left-heading {
  font-weight: bold;
  color: #000;
  font-size: 25px;
  letter-spacing: 0.5px;
}

.right-info {
  color: #333;
  font-size: 13px;
  white-space: nowrap;
}

/* top stories starting..   */
.news-container {
  background-color: #fff;
  display: flex;
  gap: 20px;
  padding: 20px;
  flex-wrap: wrap;
}

/* Columns */
.news-left {
  flex: 1;
  min-width: 300px;
  border-bottom: 1px solid #ccc;
}
.news-left h2 {
  font-size: 30px;
  font-weight: lighter;
}
.news-left p {
  margin-top: 25px;
  font-size: 20px;
  color: grey;
}

/* .news-middle {
  border-right: solid 1px grey;
  border-bottom: solid 1px grey;
  border-width: 80%;
  flex: 2;
  min-width: 300px;
} */

.news-middle {
  position: relative;
  flex: 2;
  min-width: 300px;
  /* Remove default borders */
  border: none;
}

.news-middle::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 2%;
  width: 95%; /* Shorter bottom border */
  height: 1px;
  background-color: #ccc;
}

.news-middle::before {
  content: "";
  position: absolute;
  top: 1%;
  bottom: 3%;
  right: 0;
  width: 1px;
  background-color: #ccc;
}

.news-middle img {
  padding-bottom: 10px;
  padding-right: 10px;
  width: 100%;
  height: auto;
  display: block;
}

.news-right {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.news-item {
  border-bottom: 1px solid #ccc;
  padding-bottom: 23px;
  font-size: 23px;
}

/* Responsive Stack */
@media (max-width: 768px) {
  .news-container {
    flex-direction: column;
  }

  .news-middle {
    border: none;
    order: 1;
  }

  .news-left {
    padding-bottom: 10px;
    order: 2;
  }

  .news-right {
    order: 3;
  }
  .top-stories-bar {
    display: none;
  }
  .news-middle img {
    padding: 0px;
    width: 100vw;
    margin-left: -20px;
  }
}
@media (max-width: 768px) {
  .news-middle::before,
  .news-middle::after {
    display: none;
  }
}

/* four colum ...............................  */

.four-col-container {
  background-color: #fff;
  display: flex;
  gap: 20px;
  padding: 20px;
  flex-wrap: wrap;
  border-bottom: 1px solid grey;
}

.col {
  flex: 1;
  min-width: 200px;
}
/* Default: Right borders on 1st, 2nd, and 3rd columns */
.four-col-container .col:nth-child(1),
.four-col-container .col:nth-child(2),
.four-col-container .col:nth-child(3) {
  border-right: 1px solid #ccc;
  padding-right: 15px; /* optional for spacing */
}

/* Bottom border for the entire container */
.four-col-container {
  border-bottom: 1px solid #ccc;
}
.four-col-container h3 {
  font-weight: 200;
  font-size: 24px;
}

@media (max-width: 768px) {
  .four-col-container .col:nth-child(1),
  .four-col-container .col:nth-child(2),
  .four-col-container .col:nth-child(3) {
    border-right: none !important; /* Force removal of right border */
    border-bottom: 1px solid #ccc; /* Add bottom border */
  }

  /* Optionally, ensure bottom border is added to the container as well */
  .four-col-container {
    border-bottom: 1px solid #ccc;
  }
  .four-col-container .col h3 {
    font-weight: 200;
    font-size: 24px;
  }
}

.image-col img {
  width: 100%;
  height: 183px;
  display: block;
  margin-bottom: 10px;
}

.text-col h2 {
  font-weight: 200;
  font-size: 24px;
  margin-bottom: 10px;
}

.text-col p {
  font-size: 20px;
  color: #333;
}
@media (max-width: 768px) {
  /* Hide all images inside .image-col */
  .image-col img {
    display: none;
  }

  /* Show only the first image */
  .first-news img {
    width: 100vw;
    margin-left: -20px;
    display: block !important;
  }

  /* Optional improvements */
  .four-col-container {
    display: block;
  }

  .col {
    width: 100%;
    margin-bottom: 1rem;
  }
}

/* Responsive: Stack columns on smaller screens */
@media (max-width: 900px) {
  .four-col-container {
    flex-direction: column;
  }
}
.left-logo {
  width: 200px;
}

/* scroll style...effect  ... */

.left-logo {
  width: 200px;
  display: none !important; /* Hide by default */
}

.left-logo.show {
  display: block !important; /* Force show on scroll */
}

.fullnav-left,
.top-logo {
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.fullnav-left.hide,
.top-logo.hide {
  opacity: 0;
  visibility: hidden;
  height: 0;
  overflow: hidden;
  display: none;
}
/* .fullnav-left.hide {
  opacity: 0;
  visibility: hidden;
  height: 0;
  overflow: hidden;
  display: none; 
} */

/* first headline container .....   */
.box {
  background-color: #fff;
  position: relative;
  width: 100%;
  height: 120px; /* Adjust height as needed */
  padding: 10px;
  box-sizing: border-box;
}

.top-right {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 14px;
  color: #003366;
  font-family: Arial, sans-serif;
}

.bottom-left {
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 32px;
  font-weight: bold;
  font-family: Georgia, serif;
}
.bottom-left h4 {
  margin-left: 42px;
}

.year {
  font-weight: normal;
}

/* Default: 4 columns side by side */
.sec-four-col-container {
  background-color: #fff;
  margin: 0px 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.sec-four-col-container h3 {
  font-size: 24px;
  font-weight: 200;
}

.sec-col {
  flex: 1 1 22%;
}

.sec-image-col img {
  width: 100%;
  height: auto;
}
#second-h {
  font-size: 26px;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .sec-four-col-container {
    margin-left: 5px;
    width: 100vw;
    display: block;
  }

  .sec-col {
    width: 100%;
    margin-bottom: 1rem;
  }

  /* Hide all images inside image-col */
  .sec-image-col img {
    display: none;
  }

  /* Show image only for the first-news column */
  .sec-first-news img {
    display: block !important;
  }
  .bottom-left {
    padding-bottom: 16px;

    text-align: center;
    width: 100%;

    border-top: 1px solid #ccc;
  }
}

/* ==== Desktop Styles ==== */
.sec-four-col-container {
  padding: 19px 0px;
  margin: 0px 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

.sec-col {
  flex: 1 1 22%;
}

/* Right border for first 3 columns */
.sec-four-col-container .sec-col:nth-child(1),
.sec-four-col-container .sec-col:nth-child(2),
.sec-four-col-container .sec-col:nth-child(3) {
  border-right: 1px solid #ccc;
  padding-right: 10px; /* Optional spacing */
}

.sec-image-col img {
  width: 100%;
  height: auto;
}

/* ==== Mobile Responsive Styles ==== */
@media (max-width: 768px) {
  .sec-four-col-container {
    margin-left: 0px;
    width: 100vw;
    display: block;
    border-top: none;
    border-bottom: none;
  }

  .sec-col {
    width: 100%;
    margin-bottom: 1rem;
    border-right: none !important;
    border-bottom: 1px solid #ccc;
    padding-right: 0;
  }

  /* Hide all images inside image-col */
  .sec-image-col img {
    display: none;
  }

  /* Show image only for the first-news column */
  .sec-first-news img {
    display: block !important;
  }

  .bottom-left {
    padding-bottom: 16px;
    text-align: center;
    width: 100%;
    border-top: 1px solid #ccc;
  }
}

/* second box  ...   */

.sec-box {
  background-color: #fff;
  position: relative;
  width: 100%;
  height: 120px;
  padding: 10px;
  box-sizing: border-box;
}

.sec-top-right {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 14px;
  color: #003366;
  font-family: Arial, sans-serif;
}

.sec-bottom-left {
  margin-bottom: 10px;
  margin-left: 91px;
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 32px;
  font-weight: bold;
  font-family: Georgia, serif;
}

/* third space grid ......   */

/* 
.sgt-grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-areas:
    "col1-row1 col2-row1 col3-row1"
    "col1-row2 col2-row2 col3-row1"
    "col1-row2 col2-row3 col3-row1"
    ".         bottom    bottom";
  gap: 20px;
}


.sgt-col1-row1 {
  grid-area: col1-row1;
}
.sgt-col1-row2 {
  grid-area: col1-row2;
}


.sgt-col2-row1 {
  grid-area: col2-row1;
}
.sgt-col2-row2 {
  grid-area: col2-row2;
}
.sgt-col2-row3 {
  grid-area: col2-row3;
}


.sgt-col3-row1 {
  grid-area: col3-row1;
}


.sgt-bottom-span {
  grid-area: bottom;
  background-color: #f2f2f2;
  padding: 15px;
  font-size: 18px;
  border-top: 1px solid #ccc;
}


img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

h1 {
  font-size: 20px;
  margin-top: 10px;
} */

.parent {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 8px;
}

.div1 {
  grid-row: span 4 / span 4;
}

.div3 {
  grid-row: span 4 / span 4;
}

.div4 {
  grid-column-start: 2;
  grid-row-start: 2;
}

.div5 {
  grid-column-start: 2;
  grid-row-start: 3;
}

.div7 {
  grid-column-start: 2;
  grid-row-start: 4;
}

.div8 {
  grid-column: span 2 / span 2;
  grid-column-start: 2;
  grid-row-start: 5;
}

.div9 {
  grid-column-start: 1;
  grid-row-start: 5;
}

.space-image-h {
  font-size: 20px;
}
.space-image-h img {
  width: 400px;
  height: 400px;
}

.div2 h1 {
  font-size: 20px;
}
.div4 h1 {
  font-size: 20px;
}
.div5 h1 {
  font-size: 20px;
}
.div6 h1 {
  font-size: 20px;
}
.div7 h1 {
  font-size: 20px;
}
.div8 h1 {
  font-size: 20px;
}
.div9 h1 {
  font-size: 20px;
}
.space-small-h {
  font-size: 20px;
}
.space-small-h img {
  width: 100px;
  height: 100px;
}

/* video section ....   */

.video-container {
  /* UPDATE: renamed class and marked it with "video" */
  padding-top: 10px;
  border-top: 1px solid #ccc;
  display: flex;
  flex-direction: row;
  min-height: 100vh;
}

.video-left-column {
  /* UPDATE: renamed class and marked it with "video" */
  flex: 0.7;
  padding: 40px;
  background-color: #fff;
  box-sizing: border-box;
}

.video-left-column h1 {
  font-size: 26px;
  line-height: 1.3;
}

.video-left-column p {
  font-size: 1.1rem;
  margin-top: 20px;
  color: #444;
}

.video-right-column {
  /* UPDATE: renamed class and marked it with "video" */
  flex: 2;
  background-color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.video-section {
  width: 100%;
  height: 100%;
}

.video-section video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .video-container {
    flex-direction: column;
  }

  .video-right-column {
    order: -1;
    width: 100%;
    height: 100vh;
  }

  .video-left-column {
    padding: 20px;
  }

  .video-left-column h1 {
    font-size: 1.5rem;
  }

  .video-section video {
    width: 100vw;
  }
}

/* carosole container  ..   */

.carousel-container {
  background-color: #fff;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
  padding-bottom: 10px;
  border-top: solid 1px #ccc;
}

.card {
  padding: 10px;
  /* other styling if needed */
}

.card:not(:last-child) {
  border-right: 1px solid #ccc; /* adjust color/thickness as needed */
}

.card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: white;

  overflow: hidden;
}

.card-title {
  background: black;
  color: white;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* swiper js out bmc .....   */

/* swapimer bmc .end.... */

.cards-container-five {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.card-five {
  flex: 1 1 calc(25% - 20px);
  max-width: calc(25% - 20px);
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card-img-five {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-title-five {
  padding: 10px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
}

@media screen and (max-width: 768px) {
  .card-five {
    display: none;
  }

  .card-five:first-child {
    display: block;
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* sigapore box   ...  */

/* second box  ...   */

.three-box {
  background-color: #fff;
  position: relative;
  width: 100%;
  height: 120px; /* Adjust height as needed */
  padding: 10px;
  box-sizing: border-box;
}

.three-top-right {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 14px;
  color: #003366;
  font-family: Arial, sans-serif;
}

.three-bottom-left {
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 32px;
  font-weight: bold;
  font-family: Georgia, serif;
}
.three-bottom-left h4 {
  margin-left: 22px;
}
@media (max-width: 768px) {
  .three-bottom-left {
    border-top: solid 1px #ccc;
  }
}

/* grid tryyy  ...   */
.grid-container-gridd {
  background-color: #fff;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: auto;
  border-bottom: 1px solid #ccc;
  border-top: 1px solid #ccc;
}

/* Column 1 */
.column1-gridd {
  grid-column: 1;
  grid-row: 1;
}

.column1-gridd {
  border-right: 1px solid #ccc; /* Default: right border */
  padding-right: 16px;
}

@media (max-width: 768px) {
  .column1-gridd {
    border-right: none; /* Remove right border on small screens */
    border-bottom: 1px solid #ccc; /* Add bottom border on small screens */
    padding-bottom: 16px;
  }
}

.main-img-gridd {
  width: 100%;
  border-radius: 4px;
}

.main-heading-gridd {
  margin-top: 10px;
  font-size: 24px;
}

/* Column 2 with 3 rows */
.column2-gridd {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.row-gridd:not(:last-child) {
  border-bottom: 1px solid #ccc;
}
.row-gridd {
  font-size: 23px;
  padding: 10px;
}

/* Column 3 */
.column3-gridd {
  grid-column: 3;
  grid-row: 1;
}

.column3-gridd {
  border-left: 1px solid #ccc; /* Default: left border */
  padding-left: 16px;
}

.side-img-gridd {
  width: 100%;
  border-radius: 4px;
}

.side-heading-gridd {
  font-size: 20px;
  margin: 10px 0 5px;
}

.side-paragraph-gridd {
  font-size: 16px;
  color: #444;
}

/* Bottom Left (under column 1 only) */
.bottom-left-gridd {
  font-size: 20px;
  grid-column: 1;
  grid-row: 2;

  padding: 15px;
}

.bottom-left-gridd {
  position: relative; /* Ensure the pseudo-elements position correctly */
  padding: 10px;
  background-color: transparent; /* Keep the background transparent */
}

.bottom-left-gridd::before,
.bottom-left-gridd::after {
  content: "";
  position: absolute;
  background-color: #ccc; /* Border color */
}

.bottom-left-gridd::before {
  top: 0px;
  left: 10px;
  right: 20px;
  height: 1px; /* Top border */
}

.bottom-left-gridd::after {
  bottom: 0;
  right: 0px;
  width: 1px; /* Right border */
  height: 80%; /* Full height */
}

.bottom-left-gridd::after {
  border-bottom: 1px solid #ccc; /* Bottom border */
}

/* Bottom Right (under col 2 and 3) */
.bottom-right-gridd {
  font-size: 20px;
  grid-column: 2 / span 2;
  grid-row: 2;

  padding: 15px;
  border-top: 1px solid #ccc;
}

@media (max-width: 768px) {
  .grid-container-gridd {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-top: none;
  }

  .column1-gridd,
  .column2-gridd {
    width: 100%;
  }

  /* Ensure image is responsive */
  .main-img-gridd,
  .side-img-gridd {
    width: 100%;
    height: auto;
    display: block;
  }

  /* Hide Right Column and Bottom Sections */
  .column3-gridd,
  .bottom-left-gridd,
  .bottom-right-gridd {
    display: none;
  }

  .header {
    width: 100vw;
  }
}

.video-scroll-container {
  background-color: #fff;
  padding: 0px 23px;
  margin-top: 10px;
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding-bottom: 10px;
  scroll-behavior: smooth;
  border-bottom: 1px solid #ccc;
}

.video-tile {
  height: 227px;
  flex: 0 0 auto;
  width: 150px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.video-tile video {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.video-title {
  padding: 10px;
  font-size: 14px;
  font-weight: bold;
  color: #333;
}

/* Optional scrollbar styling */
.video-scroll-container::-webkit-scrollbar {
  height: 8px;
}

.video-scroll-container::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 4px;
}

/* banner  .....    */

.banner-container {
  border-top: 3px double #d1d5db;
  border-bottom: 3px double #d1d5db;
  background-color: #f3f6f8;
  padding: 10px 0;
  display: flex;
  justify-content: center;
}

.banner {
  width: 100%;
  max-width: 1200px;
  padding: 0 15px;
  box-sizing: border-box;
}

.banner-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 5px;
}

/* openiion conatiner  /.....   */

.opinion-container {
  background-color: #fff;
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

/* Each opinion block */
.opinion-author {
  flex: 1;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px dotted #ccc;
  min-width: 250px;
  box-sizing: border-box;
}

/* Remove border from last item on desktop */
.opinion-author:last-child {
  border-right: none;
}

/* Image styling */
.opinion-author img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

/* Heading */
.opinion-author-details h3 {
  margin: 0;
  font-size: 20px;
  font-weight: bold;
}

/* Paragraph */
.opinion-author-details p {
  margin-top: 8px;
  font-style: italic;
  font-size: 16px;
  line-height: 1.4;
}

/* ✅ Responsive for mobile: stack vertically */
@media (max-width: 768px) {
  .opinion-container {
    flex-direction: column;
  }

  .opinion-author {
    border-right: none;
    border-bottom: 1px dotted #ccc;
    width: 100%;
  }

  .opinion-author:last-child {
    border-bottom: none;
  }
}

/* insight container ....    */

.insight-container {
  background-color: #fff;
  border-bottom: 1px solid #ccc;
  border-top: 1px solid #ccc;
  padding: 12px 23px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.insight {
  flex: 1 1 22%;

  padding: 15px;

  text-align: center;
}

.insight img {
  width: 100%;
  height: auto;
}

.insight h3 {
  font-weight: 200;
  margin-top: 10px;
  font-size: 24px;
}

/* Responsive behavior */
@media (max-width: 768px) {
  .insight-container {
    flex-direction: column;
  }

  .insight:not(:first-child) img {
    display: none;
  }
}

.insight {
  flex: 1 1 22%;
  padding: 15px;
  text-align: center;
  border-right: 1px solid #ccc; /* Default: right border */
}

.insight:last-child {
  border-right: none; /* Remove right border from last item */
}

/* Responsive behavior */
@media (max-width: 768px) {
  .insight-container {
    flex-direction: column;
  }

  .insight {
    margin-left: -24px;
    width: 100vw;
    border-right: none;
    border-bottom: 1px solid #ccc;
  }

  .insight:last-child {
    border-bottom: none; /* No bottom border for last item */
  }

  .insight:not(:first-child) img {
    display: none;
  }
  .insight img {
    margin-left: -14px;
    width: 100vw;
  }
}

/* third four colum container ....   */

.third-four-col-container {
  background-color: #fff;
  padding: 11px 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  border-top: solid 1px #ccc;
  border-bottom: solid 1px #ccc;
}

.third-col {
  flex: 1 1 calc(25% - 20px);
  box-sizing: border-box;
}

.third-col img {
  width: 100%;
  height: auto;
  display: block;
}
.third-four-col-container {
  display: flex;
  flex-wrap: wrap; /* allows wrapping on smaller screens */
}

/* Desktop view (default) */
.third-four-col-container .third-col {
  flex: 1;
  padding: 10px;
}

.third-four-col-container .third-col:not(:last-child) {
  border-right: 1px solid #ccc;
}
.third-four-col-container h3 {
  font-size: 24px;
  font-weight: 200;
}
@media (max-width: 768px) {
  .third-four-col-container {
    flex-direction: column;
  }

  .third-col {
    width: 100vw;
    margin-left: -22px;
    flex: 1 1 100%;
  }

  .third-col img {
    display: none;
  }

  .third-first-news img {
    display: block;
  }
}

@media (max-width: 768px) {
  .third-four-col-container {
    flex-direction: column;
  }

  .third-four-col-container .third-col {
    border-right: none !important;
  }

  .third-four-col-container .third-col:not(:last-child) {
    border-bottom: 1px solid #ccc; /* add bottom border instead */
  }
}

/* life container ..   */
.life-container {
  border-top: solid 1px #ccc;
  border-bottom: solid 1px #ccc;
  padding: 0px 31px;
  background-color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.life-item {
  flex: 1 1 calc(25% - 20px); /* 4-column layout */
  box-sizing: border-box;
  padding: 10px 0px;
}

.life-item img {
  width: 100%;
  height: auto;
  display: block;
}

.life-item h3 {
  font-weight: 200;
  margin-top: 10px;
  font-size: 24px;
}

@media (max-width: 768px) {
  .life-container {
    flex-direction: column;
  }

  .life-item {
    flex: 1 1 100%;
  }

  .life-item img {
    display: none;
  }

  .life-item:first-child img {
    margin-left: -31px;
    width: 100vw;
    display: block;
  }

  .life-item h3 {
    font-weight: 200;
    margin: 10px 0px;
    font-size: 24px;
    margin-left: -7px;
  }
}

/* life item try ..   */

.life-item {
  flex: 1 1 calc(25% - 20px); /* 4-column layout */
  box-sizing: border-box;
  border-right: 1px solid #ccc; /* Right border for desktop */
  padding-right: 15px;
}

/* Remove right border from every 4th item (last in the row) */
.life-item:nth-child(4n) {
  border-right: none;
}

@media (max-width: 768px) {
  .life-container {
    flex-direction: column;
  }

  .life-item {
    flex: 1 1 100%;
    border-right: none; /* Remove right border in mobile */
    border-bottom: 1px solid #ccc; /* Add bottom border in mobile */
    padding-right: 0;
    padding-bottom: 15px;
  }

  .life-item:last-child {
    border-bottom: none; /* Optional: remove border from the last item */
  }

  .life-item img {
    display: none;
  }

  .life-item:first-child img {
    display: block;
  }

  .life-item h3 {
    font-weight: 200;
    margin: 10px 0px;
    font-size: 24px;
    margin-left: -7px;
  }
}

/* #mobileToggleBtn {
  display: none;
} */

/* Hide by default on larger screens */
.mobile-toggle-btn {
  display: none !important;
}

/* Show only on screens smaller than 768px */
@media (max-width: 767px) {
  .mobile-toggle-btn {
    display: block !important;
    font-size: 24px; /* Optional: size of the icon */
    cursor: pointer;
  }
}

/* podcast container  ..   */

.podcast-container {
  display: flex;
  max-width: 1200px;
  margin: 20px auto;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.podcast-left,
.podcast-middle,
.podcast-right {
  padding: 20px;
  box-sizing: border-box;
}

.podcast-left {
  flex: 1;
}

.podcast-left h1 {
  font-size: 24px;
  margin-bottom: 20px;
  line-height: 1.3;
  font-weight: 300;
}

.podcast-left p {
  font-size: 18px;
  color: #666;
}

.podcast-middle {
  flex: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.podcast-middle img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.podcast-right {
  flex: 1;
  border-left: 1px solid #ddd;
}

.podcast-right-item {
  margin-bottom: 20px;
}

.podcast-right-item h2 {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 300;
}

hr {
  border: none;
  border-top: 1px solid #ddd;
}

@media (max-width: 768px) {
  .podcast-container {
    flex-direction: column;
  }

  .podcast-middle {
    order: 1;
    border-left: none;
  }

  .podcast-left {
    order: 2;
  }

  .podcast-right {
    order: 3;
    border-left: none;
  }

  .podcast-right-item h2 {
    font-size: 20px;
  }

  .podcast-left h1 {
    font-size: 26px;
  }

  .podcast-left p {
    font-size: 18px;
  }
}

/* headstart ai . . . . . . . . . . . . .  */
.headstart-header {
  display: flex;
  align-items: center;
  padding: 6px 20px;
  border-bottom: 1px solid #ccc;
  border-top: solid 1px #ccc;
}

.headstart-logo {
  display: flex;
  align-items: center;
  margin-right: 40px;
}

.headstart-logo img {
  height: 40px;
  margin-right: 10px;
}

.headstart-logo span {
  font-weight: bold;
  font-size: 18px;
}

.headstart-nav a {
  margin-right: 20px;
  color: #000;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
}

.headstart-main {
  display: flex;
  padding: 30px;
  gap: 30px;
}

.headstart-left-section {
  width: 30%;
}

.headstart-left-section h1 {
  font-size: 32px;
  margin-bottom: 20px;
}

.headstart-left-section p {
  font-size: 20px;
  color: #444;
}

.headstart-center-section {
  width: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.headstart-center-section img {
  max-width: 100%;
  height: auto;
}

.headstart-right-section {
  width: 30%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.headstart-card {
  border-top: 1px solid #ccc;
  padding-top: 20px;
  font-size: 22px;
  font-weight: 400;
  color: #111;
}
.headstart-logo span {
  font-weight: bold;
  font-size: 18px;
  display: flex;
  align-items: center;
}

.headstart-arrow {
  margin-left: 5px;
  font-size: 18px;
}

.headstart-nav {
  display: flex;
  align-items: center;
}

.headstart-nav a {
  color: #000;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  position: relative;
  padding: 0 10px;
}

.headstart-nav a:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: 0;
  color: #ccc;
}

@media screen and (max-width: 768px) {
  .headerstart-ai {
    display: none;
  }
}

/* photo  .....  */

.photo-container {
  background-color: #fff;
  display: flex;
  border-top: 1px solid #ccc;
  padding-top: 20px;
  flex-wrap: wrap;
  border-bottom: solid 1px #ccc;
}

.photo-text-section {
  flex: 1;
  padding: 20px;
  min-width: 300px;
}

.photo-heading {
  font-size: 28px;
  font-weight: 400;
  margin: 0;
}

.photo-image-section {
  flex: 2;
  padding: 20px;
  min-width: 300px;
}

.photo-image {
  width: 100%;
  height: auto;
  display: block;
}

/* most popular /.....   */

.most-sec-box {
  background-color: #fff;
  position: relative;
  width: 100%;
  height: 120px; /* Adjust height as needed */
  padding: 10px;
  box-sizing: border-box;
}

.most-sec-top-right {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 14px;
  color: #003366;
  font-family: Arial, sans-serif;
}

.most-sec-bottom-left {
  margin-bottom: 10px;
  margin-left: 91px;
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 32px;
  font-weight: bold;
  font-family: Georgia, serif;
}

@media (max-width: 768px) {
  .sec-bottom-left {
    font-size: 26px;
    margin-left: 10px;
  }
}

.popular-news-container {
  margin: 0px 111px;
  background-color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 20px;
  border-top: solid 1px #ccc;
}

.popular-news-item {
  display: flex;
  gap: 15px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 20px;
  line-height: 1.5;
}

.popular-news-item .popular-num {
  font-weight: bold;
  font-size: 24px;
}

.popular-news-item p {
  font-size: 18px;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .popular-news-container {
    margin: 0px;
    grid-template-columns: 1fr;
  }

  .popular-news-item {
    flex-direction: row;
    align-items: flex-start;
  }
  .most-sec-bottom-left {
    margin-left: 35px;
  }
}

/* branded content  ...   */
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 20px;
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
}

.news-item {
  display: flex;
  align-items: flex-start;
  border-bottom: 1px solid #ccc;
  padding-bottom: 20px;
}

.news-item img {
  width: 250px;
  height: 150px;
  object-fit: cover;
  margin-right: 20px;
  flex-shrink: 0;
}

.news-item h3 {
  font-size: 18px;
  font-weight: normal;
  color: #000;
  margin: 0;
  line-height: 1.4;
}

/* 🔄 Responsive Layout */
@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-item {
    flex-direction: column;
    align-items: center;
    /* text-align: center; */
  }

  .news-item img {
    margin-right: 0;
    margin-bottom: 10px;
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  .news-item h3 {
    font-size: 16px;
    padding: 0 10px;
  }
}

.branded-box {
  background-color: #fff;
  position: relative;
  width: 100%;
  height: 120px; /* Adjust height as needed */
  padding: 10px;
  box-sizing: border-box;
}

.branded-top-right {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 14px;
  color: #003366;
  font-family: Arial, sans-serif;
}

.branded-bottom-left {
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 32px;
  font-weight: bold;
  font-family: Georgia, serif;
}
.branded-bottom-left h4 {
  margin-left: 22px;
}
@media (max-width: 768px) {
  .branded-bottom-left {
    width: 100vw;
    margin-left: 0px;
    border-top: solid 1px #ccc;
  }
  .branded-bottom-left h4 {
    margin-top: 24px;
    margin-left: 60px;
    font-size: 22px;
  }
}

/* footer  .....   */
/* .footer {
  display: flex;
  flex-wrap: wrap;
  padding: 40px;
  border-top: 1px solid #ccc;
  background-color: #f8f8f8;
}

.footer-left {
  flex: 1;
  min-width: 300px;
  padding-right: 40px;
  border-right: 1px solid #ccc;
}

.logo {
  font-weight: bold;
  color: #1e2b5e;
  font-size: 28px;
}

.devices-img {
  max-width: 100%;
  margin: 20px 0;
  border: 1px solid #ddd;
  padding: 5px;
  background-color: white;
}

.subscribe-box {
  margin-top: 20px;
  border: 1px solid #ccc;
  padding: 20px;
  background-color: white;
}

.subscribe-box h3 {
  color: #1e2b5e;
  margin-bottom: 10px;
}

.subscribe-box p {
  font-size: 16px;
  color: #333;
  margin-bottom: 15px;
}

.subscribe-btn {
  background-color: #007aff;
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 30px;
  cursor: pointer;
}

.footer-right {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-left: 40px;
}

.app-links-box {
  border: 1px solid #ccc;
  padding: 20px;
  background-color: white;
}

.app-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}

.app-store img,
.play-store img {
  height: 40px;
}

.app-store p,
.play-store p {
  font-size: 14px;
  margin-top: 5px;
  color: #444;
}

.footer-links-box {
  border: 1px solid #ccc;
  padding: 20px;
  background-color: white;
}

.footer-links {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  font-size: 16px;
  padding: 6px 0;
  color: #1e2b5e;
  position: relative;
}

.footer-links li::before {
  content: "•";
  color: red;
  position: absolute;
  left: -15px;
} */

.footer {
  background-color: #fff;
}

.last-wrapper {
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 20px 0;
}

.last-section {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.last-left h2 {
  font-size: 24px;
  font-weight: bold;
  color: #1e2b5e;
  margin: 0;
}

.last-right {
  display: flex;
  gap: 40px;
}

.store {
  display: flex;
  align-items: center;
  gap: 12px;
}

.store img {
  height: 40px;
}

.store p {
  margin: 0;
  font-size: 14px;
  color: #000;
  line-height: 1.4;
}

.subscribe-last {
  display: flex;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 30px 40px;
  justify-content: space-between;
  gap: 30px;
}

.subscribe-left {
  flex: 1;
  text-align: center;
}

.subscribe-left img {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 20px;
}

.subscribe-left h2 {
  color: #002c5f;
  font-size: 24px;
  font-weight: bold;
  margin: 10px 0 5px;
}

.subscribe-left p {
  font-size: 16px;
  color: #002c5f;
  line-height: 1.5;
  margin: 0 0 20px;
}

.subscribe-left button {
  background-color: #00d5ff;
  color: #002c5f;
  border: none;
  border-radius: 20px;
  padding: 10px 25px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

.subscribe-right {
  display: flex;
  gap: 80px;
  flex: 1;
  padding-left: 40px;
  border-left: 1px solid #ccc;
}

.subscribe-right ul {
  list-style: disc;
  padding-left: 20px;
}

.subscribe-right li {
  margin-bottom: 15px;
  color: #000;
  font-size: 16px;
  font-weight: 500;
}

.subscribe-right li::marker {
  color: #f44336;
}

.last-links {
  display: flex;
  padding: 40px 20px;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  font-family: Arial, sans-serif;
}

.last-links-left,
.last-links-right {
  flex: 1;
}

.last-links-left {
  padding-right: 40px;
  border-right: 1px solid #ccc;
}

.last-links-left ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.last-links-left li {
  font-size: 16px;
  color: #000;
  margin-bottom: 25px;
}

.last-links-right {
  padding-left: 40px;
  display: flex;
  justify-content: space-between;
}

.right-column {
  width: 100%;
}

.right-column ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 60px;
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  border-collapse: collapse;
}

.right-column li {
  font-size: 16px;
  color: #000;
  display: flex;
  align-items: center;
  border-bottom: 1px dotted #aaa;
  padding-bottom: 8px;
}

.right-column li span {
  display: inline-block;
  margin-right: 10px;
  font-size: 18px;
}

.back-top {
  font-size: 16px;
  color: #000;
  display: flex;
  align-items: center;
  gap: 6px;
}

.arrow-up {
  border: 1px solid #aaa;
  border-radius: 50%;
  padding: 4px 6px;
  font-size: 14px;
}

@media (max-width: 768px) {
  .last-section,
  .subscribe-last,
  .last-links {
    flex-direction: column;
    padding: 20px;
  }

  .last-right,
  .subscribe-right,
  .last-links-right,
  .last-links-left {
    padding: 0;
    border: none;
  }

  .subscribe-left,
  .subscribe-right,
  .last-links-left,
  .last-links-right {
    width: 100%;
  }

  .subscribe-right,
  .last-links {
    gap: 20px;
  }

  .last-links {
    display: flex;
    flex-direction: column;
  }

  .last-links-left {
    order: 4;
  }

  .right-column {
    order: 2;
  }

  .subscribe-left {
    order: 1;
  }

  .subscribe-right {
    order: 3;
  }

  .last-wrapper {
    order: 0;
  }
}

@media (max-width: 768px) {
  .last-right {
    flex-direction: row;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
  }

  .store {
    flex-direction: column;
    text-align: center;
  }

  .store img {
    height: 37px;
  }

  .store p {
    font-size: 14px;
    line-height: 1.4;
  }
}

/* mac view try css start here  .... ....  */

/* top stories+ news container ..  ..  ..  */

@media (min-width: 1440px) {
  .mac-view-one {
    background-color: #00d5ff;
    display: flex;
    flex-direction: column;
  }
}

.bottom-footer-p {
  width: 100%;
}

.last-p {
  margin-left: 304px;
  width: 100%;
  font-size: 10px;
}
