 /* Reset box model */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margins and paddings */
body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, figure,
blockquote, dl, dd {
  margin: 0px 30px 0px 30px;
  padding: 0;
}

/* Remove list styles */
ul, ol {
  list-style: none;
}

/* Remove default link styling */
a {
  text-decoration: none;
  color: inherit;
}

/* Set base font and background */
body {
  font-family: Arial, sans-serif;
  background-color: #fff;
  color: #000;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  scroll-behavior: smooth;
}

/* Make images responsive */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Remove default table spacing */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Ensure buttons inherit font and remove border */
button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* Normalize form elements */
input, textarea, select {
  font: inherit;
  border: none;
  outline: none;
}
  .navbar {
    position: fixed;
    right: 0;
    left: 0;
    z-index: 1030;
    height: 50px;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
  }

  .logo img {
    height: 50px;
    width: auto;
    display: block;
  }

  .nav-toggle {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: #000;
    cursor: pointer;
  }

  .nav-menu {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .nav-menu li a {
    color: #000;
    text-decoration: none;
    font-weight: 500;
  }

  @media (max-width: 768px) {
    .nav-toggle {
      display: block;
    }

    .nav-menu {
      flex-direction: column;
      position: absolute;
      top: 50px;
      left: 0;
      right: 0;
      background-color: #fff;
      display: none;
      padding: 10px 0;
      border-top: 1px solid #ccc;
      z-index: 10000;
    }

    .nav-menu.active {
      display: flex;
    }

    .nav-menu li {
        text-align: left;
        margin-left: 84px;
    }
  }
  
.space-10 {
  padding-bottom: 10px !important;
}
.space-30 {
  padding-bottom: 30px !important;
}
.space-50 {
  padding-bottom: 50px !important;
}
.space-60 {
  padding-bottom: 60px !important;
}
.hr2 {
    position: relative;
    display: block;
    margin-top: 20px;
    margin-bottom: 8px;
    border: 0;
    border-top: 2px solid #c9c9c9;
}
.hr10 {
    position: relative;
    display: block;
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 10px solid #c9c9c9;
}
.text-center {
    text-align: center;
}
.container {
        width: 100%;
}
.max-six-hundred {
    position: relative;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
h1,
.h1 {
  font-size: 38px;
  letter-spacing: -1px;
  line-height: 42px;
  margin: 0px 30px 0px 30px;
}
.main-heading {
  min-height: 120px; /* Reserves space for ~3 lines on mobile */
  max-width: 600px;
  overflow-wrap: break-word; /* Prevents erratic wrapping */
}
.link-underline a {
  color: #333;
  text-decoration: underline;
}
.link-underline a:hover, a:focus, a:active  {
  color: #000;
  text-decoration: none;
}
.link-underline a:hover {
  color: #000;
  text-decoration: none;
}
.link-underline a:focus {
  outline: none;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}
.img-responsive {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
.yellow-background {
	position: relative;
	margin-left: auto;
    margin-right: auto;
	background-color: #FFD800;
}
    .video-container {
      height: 100vh;
      scroll-snap-align: start;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      box-sizing: border-box;
      position: relative;
      overflow: hidden;
    }

    .video-thumbnail {
      position: relative;
      width: 100%;
      height: 100%;
      background: #000;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .video-thumbnail img {
      max-width: 100%;
      height: auto;
    }

    .play-button {
      position: absolute;
      bottom: 20px;
      background: rgba(255, 255, 255, 0.8);
      border: none;
      padding: 10px 20px;
      font-size: 18px;
      border-radius: 5px;
      cursor: pointer;
    }

    .responsive-iframe {
      width: 100%;
      height: 100%;
      border: none;
    }

    .video-share-trigger {
      margin-top: 10px;
      background: #ffcc00;
      color: #000;
      border: none;
      padding: 8px 16px;
	  font-size: 14px;
      font-weight: bold;
      cursor: pointer;
      border-radius: 5px;
    }
    .video-share-trigger:hover {
      background: #fff;
    }
    #video-feed {
      scroll-snap-type: y mandatory;
      scroll-padding-top: 0px;
    }
    #load-more {
      height: 100px;
      background: #000;
    }
    @media (max-width: 768px) {
      .responsive-iframe {
        max-width: 100%;
        max-height: 75vh;
      }
      .video-container, .footer-container {
        padding: 0px;
		padding-top: 20px;
      }
      .video-content {
        gap: 4px; /* Reduced from 5px */
      }
    }
.video-poster-background {
	position: relative;
    max-width: 600px;
	margin-left: auto;
    margin-right: auto;
	background-color: #000;
	display: flex;
    justify-content: center;
	width: 100%;
	margin-bottom: 10px;
}
.video-poster {
  position: relative;
  max-width: 300px;
} 
.video-poster-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.video-poster-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  background: url('https://www.lolfunnydogs.com/images/icon/play-button-2.png') no-repeat center center;
  background-size: contain;
  transform: translate(-50%, -50%);
  pointer-events: none; /* Ensures the click goes to the <a> */
}
.youtube {
  position: relative;
  width: 100%;
  max-width: 600px;
  cursor: pointer;
}
.youtube img {
  width: 100%;
  display: block;
}
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: url('https://www.lolfunnydogs.com/images/icon/play-button.png') no-repeat center center;
  background-size: contain;
}
.video-thumb {
  position: relative;
  display: inline-block;
  margin: 0px;
  cursor: pointer;
}
.video-thumb p {
  margin-left: 5px;
  font-size: 14px;
}
.video-thumb img {
  width: 100%;
  border-radius: 0px;
  display: block;
}
.play-overlay {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 25px;
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  padding: 10px 10px;
  padding-left: 12px;
  pointer-events: none;
}
.content-item {
  margin-bottom: 0px;
}
.content-item img, .content-item iframe {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}
.loading {
  text-align: center;
  padding: 20px;
  display: block; /* Ensure initial visibility */
  min-height: 50px; /* Ensure it has enough height to trigger IntersectionObserver */
  background: #f0f0f0; /* Optional: for visibility debugging */
}
.loading.visible {
  display: block; /* Keep visible when loading */
}
.related-videos,
.video-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px; /* Optional: controls spacing between items */
  justify-content: space-between; /* Optional: aligns items nicely */
}
.video-grid a {
  width: calc(50% - 6px); /* Two per row with spacing */
  box-sizing: border-box;
  display: block;
}
.video-grid .video-thumb {
  width: calc(100% - 0px); /* two per row with spacing */
  box-sizing: border-box;
  padding: 15px;
}
.video-container {
    display: flex;
    justify-content: center;
}
.video-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 0 !important;
  margin: 0px;
  text-align: left;
  background: transparent !important;
}

.video-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

/* Landscape: 16:9 */
.video-thumb.landscape img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Portrait: 9:16 */
.video-thumb.portrait img {
  aspect-ratio: 9 / 16;
  object-fit: cover;
}
iframe {
    aspect-ratio: 16 / 9;
    width: 100% !important;
}
.iframe-landscape {
  aspect-ratio: 16 / 9;
  width: 100%;
  border: none;
}
/* Portrait (9:16) */
.iframe-portrait {
  aspect-ratio: 9 / 16;
  width: 100%;
  border: none;
}
.more-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: 2px;
    padding: 5px;
    height: 40px;
    cursor: pointer;
    transition: background-color 0.2s;
    pointer-events: auto;
    position: relative;
    background-color: #FFD800;
    margin-left: 30px;
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 600;
	padding-left: 15px;
    padding-right: 15px;
}
.more-button:hover {
  transform: scale(1.05);
}
.share-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: 2px;
    padding: 5px;
    width: 150px;
    height: 40px;
    cursor: pointer;
    transition: background-color 0.2s;
    pointer-events: auto;
    position: relative;
    background-color: #FFD800;
    margin-left: 30px;
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 600;
}
.share-button:hover {
  opacity: 0.8;
  transform: scale(1.05);
}
.share-icon {
  max-width: 100%;
  max-height: 100%;
}
.share-trigger {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: 2px;
    padding: 5px;
    width: 100px;
    height: 34px;
    cursor: pointer;
    transition: background-color 0.2s;
    pointer-events: auto;
    position: relative;
    background-color: #FFD800;
    margin-left: 30px;
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 600;
}	
@media (max-width: 768px) {
  .share-button {
    width: 50px;
    height: 50px;
  }
.video-poster {
  position: relative;
  width: 100%;
  max-width: 100%;
} 
}
.max-six-hundred {
	position: relative;
    max-width: 600px;
	margin-left: auto;
    margin-right: auto;
}
.max-six-hundred .container {
    margin-right: auto;
    margin-left: auto;
    padding-left: 0px;
    padding-right: 0px;
}
.footer {
	position: relative;
	width:100%;
	margin-left: auto;
    margin-right: auto;
	background-color: #000;
    padding-bottom: 20px;
    padding-top: 20px;
}

