:root {
  --primary: #1d5349;       /* main dark‑green text */
  --hover-accent: #ed2e4d;  /* crimson for sidebar hover */
  --bg-page: #fafcfd;
  --bg-widget: #e2e2e3;
  --border-radius: 8px;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  --font: 'Inter', sans-serif;

  --scrollbar-track: #2c2c2c;    /* the dark charcoal track */
  --scrollbar-thumb: #9f9f9f;    /* the lighter grey thumb */
}
/* Firefox */
html {
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
  scrollbar-width: thin;
}

/* WebKit browsers */
html::-webkit-scrollbar {
  width: 12px;
}

html::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}

html::-webkit-scrollbar-thumb {
  background-color: var(--scrollbar-thumb);
  border: 3px solid var(--scrollbar-track);
  border-radius: 6px;
}
/* universal text-selection styling */
::selection {
  background-color: #ed2e4d; /* your custom green */
  color:             #e2e2e3;    /* #e2e2e3 text */
}
::-moz-selection {
  background-color: #ed2e4d;
  color:             #e2e2e3;
}

/* make sure dark-mode (data-bs-theme="dark") still uses the same style */
[data-bs-theme="dark"] ::selection {
  background-color: #1d5349 !important;
  color:             #e2e2e3    !important;
}
[data-bs-theme="dark"] ::-moz-selection {
  background-color: #1d5349 !important;
  color:             #e2e2e3    !important;
}


.page-wrapper {
	background: #e2e2e3 !important;
	margin-top: -2.5% !important;
}


.header-banner {
    background: #e2e2e3fff;
    height: 600px;
    margin-bottom: 50px; 
    overflow: hidden;
    position: relative;
}
.header-banner .header-image {
    height: 100%;
    position: relative;
    width: 100%;
}

.blurred-video {
    background-color: black;
    height: 525px;
    left: 0; 
    overflow: hidden;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 0;
}
.blurred-video video {
    filter: blur(15px);
    height: 100%;
    left: 0;
    margin-bottom: 50%;
    object-fit: cover;
    position: absolute;
    top: 0;
    width: 100%;
}

.blurred-video::after { 
    background: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="#e2e2e3" fill-opacity="1" d="M0,160 Q40,170 80,160 T160,160 T240,160 T320,160 T400,160 T480,160 T560,160 T640,160 T720,160 T800,160 T880,160 T960,160 T1040,160 T1120,160 T1200,160 T1280,160 T1360,160 T1440,160L1440,320L0,320Z"></path></svg>') no-repeat;
    background-size: cover !important;
    bottom: 0 !important;
    content: '' !important;
    height: 250px !important;
    left: 0 !important;
    position: absolute !important;
    width: 100% !important;
    z-index: 1 !important;
}

.unblurred-video {
    border-radius: 10px;
    box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.3);
    height: auto;
    left: 50%;
    max-height: calc(50vh + 35px);
    max-width: 65vw;
    overflow: hidden;
    position: absolute;
    top: 52%;
    transform: translate(-50%, -50%);
    width: 65vw;
    z-index: 1;
}
.unblurred-video video {
  width: 100%;
  height: auto;
  object-fit: cover;
  position: relative;
  top: -15px;
  transform: scale(1.3);           /* ← zoom 120% */
  transform-origin: center center; /* keep it centered */
}


.video-overlay {
    color: #e2e2e3;
    left: 50%;
    position: absolute;
    text-align: center;
    top: 45%;
    transform: translate(-50%, -50%);
    z-index: 2;
}
.video-overlay img {
    height: auto;
    margin-bottom: 15px;
    width: 550px;
}
.video-description {
    color: #e2e2e3;
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: normal;
    margin-top: -20px;
    position: relative;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    top: -150px;
}
.video-button a {
    background-color: #ed2e4d;
    border-radius: 5px;
    color: #e2e2e3;
    display: inline-block;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    padding: 12px 24px;
    text-decoration: none;
      margin-top: 20px;   /* instead of –20px */
  position: relative;
  top: -110px; 
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.video-button a:hover {
    background-color: #d1223e;
    transform: translateY(-5px);
}

/* 2) Overlay */
.popup {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  display: flex; justify-content: center; align-items: center;
  background: var(--overlay-bg);
  backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 10000;
}
/* make sure .hidden really hides, and .show makes visible */
.popup.hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.popup.show {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}


.popup-content {
  background: #f1f5f9;
  border-radius: var(--popup-radius);
  box-shadow: var(--popup-shadow);
  width: 95%;           /* was 90% */
  max-width: 750px;     /* was 500px */
  padding: 2rem;
  position: relative;
  transform: translateY(-40px) scale(0.8);
  animation: popup-pop var(--transition-speed) forwards;
  border-radius: 15px;
}

@keyframes popup-pop {
  to { transform: translateY(0) scale(1); }
}
.popup-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent !important;
  border-radius: var(--popup-radius) var(--popup-radius) 0 0;
  border-bottom: 1px solid #e0e0e0;
}
/* 4) Close button */
.close-popup {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none; border: none;
  font-size: 2.5rem; color: #9f9f9f;
  cursor: pointer;
  transition: color var(--transition-speed);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transform: translateY(-14px);
}
.close-popup:hover {
  color: #2c2c2c;
}

.popup-title {
  font-size: 1.5rem;
  color: #1d5349;
  margin-bottom: 10px;
  transform: translateY(-12px);
}
.popup-header {
  text-align: center;
  margin-bottom: 1rem;
}
.popup-logo {
  width: 100px;
  margin-top: -0.5rem;
  transform: translateY(10px);
}

/* 6) Body */
.popup-body {
  color: #1d5349;
  font-size: 1.3rem;
  line-height: 1;
  text-align: center;
}
.join-title {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin: 1.5rem 0 0.75rem;
  font-weight: 700;
}
.popup-image img {
  width: 100%;
  max-width: 550px;
  margin: 1rem auto;
  display: block;
  border-radius: 0.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.popup-list {
  max-width: 550px;     /* match your .popup-image max-width */
  margin: 1rem auto 0;   /* center horizontally, push down 1rem */
  text-align: left;      /* keep bullets flush left */
}
.popup-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.popup-list ul li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.75em;
  transition: transform 0.2s;
}
.popup-list ul li::before {
  content: "➤";
  position: absolute; left: 0; top: 0;
  color: var(--accent-color);
}
.popup-list ul li:hover {
  transform: translateX(4px);
}

/* 7) Copy link styling */
.copy-link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s;
}
.copy-link:hover {
  color: darken(var(--accent-color), 10%);
}

/* 8) Footer button */
.popup-button {
  display: block;
  width: fit-content;
  margin: 2rem auto 0;
  background: #3AD07F;
  color: #1d5349;
  border: none;
  padding: 1rem 2.5rem;      /* a bit taller and wider */
  font-size: 1.3rem;         /* increased font size */
  font-weight: bold;
  border-radius: var(--popup-radius);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border-radius: 5px;
}

.popup-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}



.copy-link {
    color: #22b35c;
    cursor: pointer;
    position: relative;
    text-decoration: none;
}
.copy-link:hover {
    color: #3CCF85;
    text-decoration: underline;
}
.copy-link::after {
    background-color: rgba(29, 83, 73, 0.75);
    border-radius: 5px;
    color: #e2e2e3;
    content: "Vajuta kopeerimiseks";
    font-size: 12px;
    left: 50%;
    opacity: 0;
    padding: 5px 10px;
    pointer-events: none;
    position: absolute;
    top: -30px;
    transform: translateX(-50%);
    transition: opacity 0.75s ease, visibility 0.75s ease;
    visibility: hidden;
    #e2e2e3-space: nowrap;
    z-index: 100;
}
.copy-link:hover::after {
    opacity: 1;
    visibility: visible;
}
.copy-popup {
    background-color: #44FC8E;
    bottom: 0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    color: black;
    font-family: Arial, sans-serif;
    font-size: 24px;
    left: 0;
    opacity: 0;
    padding: 26px 20px;
    pointer-events: none;
    position: fixed;
    text-align: center;
    transform: translateY(100%);
    transition: opacity 0.5s ease, transform 0.3s ease;
    width: 100%;
    z-index: 10000;
}
.copy-popup.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}


.info-social-container {
    align-items: center;
    background: transparent;
    border-radius: 12px;
    box-shadow: none;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: -50px;
    padding: 0;
    position: relative;
    z-index: 2;
}
.info-box {
    align-items: center;
    background: #e2e2e3;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex: 1;
    gap: 15px;
    max-width: 405px;
    padding: 10px 20px;
    transition: none;
}
.server-status h4 {
    color: #1d5349;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: normal;
    margin: 0;
    text-transform: uppercase;
}
.server-status p {
    color: #1d5349;
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}
.info-box.discord {
    background: #6d70f9;
    color: #e2e2e3;
    font-family: Arial, sans-serif;
    pointer-events: auto;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.info-box.discord h4 {
    color: #e2e2e3;
    font-family: Arial, sans-serif;
}
.info-box.discord:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-4px);
}
.info-icon img {
    height: 40px;
    object-fit: contain;
    width: 40px;
}
/* 1) Wrapper — center its child */
.info-box.social-box {
  align-items: center;       /* vertical center */
  display: flex;
  height: 65px;
  justify-content: center;   /* <— center the .social-links row */
  padding: 0 20px;           /* side breathing room */
  width: 430px;
}

/* 2) Icon‐row — only as wide as its icons + gaps */
.social-links {
  display: flex;
  gap: 35px;                 /* space between icons */
  /* remove any width:100% so it wraps tightly */
}

/* 3) Circle buttons and images */
.social-icon {
  align-items: center;
  background: #1d5336;
  border-radius: 50%;
  display: flex;
  height: 48px;
  justify-content: center;
  transition: background-color 0.2s, transform 0.2s;
  width: 48px;
}

.social-icon:hover {
  background: #ed2e4d;
  transform: translateY(-4px);
}
/* X Nupp */
a.social-icon[href="https://x.com/ImpeeriumMC"] > img {
  width: 24px;
  height: 24px;
}
/* Youtube Nupp */
a.social-icon[href="https://www.youtube.com/@ImpeeriumMC"] > img {
  width: 29px;
  height: 24px;
}
/*Twitch Nupp for some reason */
a.social-icon[href="https://www.twitch.tv/impeeriummc"] > img {
  width: 28px;
  height: 28px;
}
/* Tiktok nupp */
a.social-icon[href="https://www.tiktok.com/@impeerium"] > img {
  width: 24px;
  height: 24px;
}

.info-text h4 {
    color: #999;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
}
.info-text p {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.card {
	display: none !important;
}


.blog-section h2 {
    color: #1d5349;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    margin-left: 18px;
}
.blog-card {
    border: none;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-left: 18px;
}
.blog-section .col-md-4 {
    flex: 0 0 33%;
    max-width: 35%;
}
.blog-card .image-box {
    border-radius: 8px;
    overflow: visible;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card .image-box img {
    display: block;
    height: 240px;
    object-fit: cover;
    transition: transform 0.3s ease;
    width: 100%;
}
.blog-card .image-box:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    transform: translateY(-16px);
}
.blog-card .card-body {
    padding: 15px 0;
    text-align: left;
}
.blog-card .card-title {
    margin: -5px 0 5px;
}
.blog-card .card-title a {
    color: #1d5349 !important;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
}
.blog-card .card-title a:hover {
    color: #1d5349 !important;
    text-decoration: underline;
}
.blog-card .blog-meta {
    color: #1d5349;
    font-size: 14px;
    margin-top: 5px;
}
.blog-card .blog-meta span {
    color: #6eada2;
    margin: 0 5px;
}
.view-all-link {
    color: var(--tblr-primary);
    font-size: 14px;
    font-weight: bold;
    margin-left: auto;
    margin-right: 15px;
    text-decoration: none;
    text-transform: uppercase;
}
.view-all-link:hover,
.view-all-link:focus {
    color: #26864c;
    text-decoration: underline;
}


.featured-news {
    margin: 35px auto;
    margin-top: 35px;
    overflow: visible;
    position: relative;
    width: 70%;
}
.featured-news .carousel-indicators {
    bottom: -60px;
    left: 50%;
    margin: 0;
    position: absolute;
    transform: translateX(-50%);
}
.featured-news .carousel-indicators button {
    background-color: #1d5349;
    border: none;
    border-radius: 50%;
    height: 10px;
    margin: 15px;
    width: 10px;
}
.featured-news .carousel-indicators .active {
    background-color: #1d5349;
    border-radius: 0;
    height: 16px;
    transform: rotate(45deg);
    width: 16px;
}
.featured-news .carousel-item img {
    max-height: 300px;
    object-fit: cover;
}
.carousel-control-prev,
.carousel-control-next {
    display: none;
}
.featured-news .featured-title {
    align-items: center;
    color: #1d5349;
    display: flex;
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 26px;
    margin-left: 40px;
    margin-top: -90px;
    max-height: 80px;
    min-height: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.featured-news .featured-description {
    color: #1d5349;
    margin-bottom: 15px;
    margin-left: 40px;
    max-height: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.read-more-btn {
    color: var(--tblr-primary);
    font-weight: bold;
    margin-left: 40px;
    text-decoration: none;
    text-transform: uppercase;
}
.read-more-btn:hover,
.read-more-btn:focus {
    color: #26864c;
    text-decoration: underline;
}
.featured-news img {
    border-radius: 16px !important;
    height: 315px;
    margin-left: 6px;
    max-width: 610px;
    object-fit: cover;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    z-index: 1;
}
.featured-news img:hover {
    box-shadow: 0px 15px 40px rgba(0, 0, 0, 0.35);
    transform: translateY(-16px);
}
.featured-news .carousel-inner {
    align-items: center;
    clip-path: inset(-50px 40px -50px 40px);
    justify-content: space-between;
    overflow: visible;
    position: relative;
    transition: clip-path 0.3s ease;
}
.carousel-inner.dragging {
    cursor: grabbing;
    transition: none;
}
.featured-news .row {
    align-items: center;
    margin-bottom: 0;
}
.featured-meta {
    color: #6eada2;
    font-size: 14px;
    font-weight: normal;
    margin-bottom: 10px;
    margin-left: 40px;
}
.author-link {
    color: #1d5349;
    text-decoration: none;
}
.author-link:hover {
    color: var(--tblr-primary);
    text-decoration: underline;
}
.post-date {
    color: #6eada2;
    font-weight: normal;
}



.button--icon .button-text i {
  font-size: 24px;
  line-height: 1;
  
}

.video-toggle-button {
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 50%;
  bottom: 25px;
  color: #e2e2e3;
  cursor: pointer;
  display: flex;
  height: 48px;
  justify-content: center;
  left: 20px;
  position: fixed;
  transition: background 0.2s, transform 0.2s;
  width: 48px;
  z-index: 1005;            /* above everything */
}
.video-toggle-button:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}
.video-toggle-button:focus {
  outline: 2px solid #e2e2e3;
}
.video-toggle-button i {
  font-size: 24px;
  pointer-events: none;
}
/* base styles */
#mcc_stopVids {
  align-items: center;
  border-radius: 50%;
  bottom: 20px;
  cursor: pointer;
  display: flex;
  height: 48px;
  justify-content: center;
  left: 20px;
  padding: 0;
  position: fixed;
  transition: 
    background-color 0.2s ease, 
    color 0.2s ease, 
    transform 0.15s ease;
  width: 48px;
  z-index: 1005;
}

/* playing → solid red */
#mcc_stopVids.playing {
  background-color: #ed2e4d;
  border: none;
  color: #e2e2e3;
}

#mcc_stopVids.paused {
  /* 50% opacity light-grey background */
  background-color: rgba(224, 224, 224, 0.9);
  border: none;
  /* 70% opacity mid-grey icon */
  color: rgba(126, 144, 159, 1);
}

/* icon sizing */
#mcc_stopVids i {
  display: inline-block;
  font-size: 24px;
  pointer-events: none;
  margin-top: 1px;
}


/* 2) Hover effect when PAUSED */
#mcc_stopVids.paused:hover {
  /* darken the semi-transparent grey a bit */
  background-color: rgba(224, 224, 224, 0.8);
  /* full-opacity icon */
  color: rgba(126, 144, 159, 1);
  /* gently scale up */
  transform: scale(1.1);
}

/* 3) (Optional) Hover effect when PLAYING */
#mcc_stopVids.playing:hover {
  /* just a subtle scale */
  transform: scale(1.05);
}



@media (max-width: 1500px) {
.unblurred-video {
  border-radius: 10px;
  box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.3);
  left: 50%;
  max-height: 50vh;
  max-width: 65vw;
  overflow: hidden;
  position: absolute;
  top: 52%;
  transform: translate(-50%, -50%);
  width: 65vw;
  z-index: 1;
}

.unblurred-video video {
  height: 100%;         /* ← fill the wrapper vertically */
  object-fit: cover;    /* ← cover it */
  object-position: center top;  /* ← show the top of the video */
  position: relative;
  top: 0;               /* ← no manual offset needed */
  width: 100%;
}

	  .info-social-container {
	    margin-left: 5px !important;  /* 5px gap on left */
    margin-right: 5px !important; /* 5px gap on right */
  }
    .page-wrapper {
    margin-top: -50px !important;
  }
}

@media (max-width: 900px) {
.unblurred-video {
  border-radius: 10px;
  box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.3);
  left: 50%;
  max-height: 50vh;
  max-width: 65vw;
  overflow: hidden;
  position: absolute;
  top: 52%;
  transform: translate(-50%, -50%);
  width: 65vw;
  z-index: 1;
}

.unblurred-video video {
  height: 100%;         /* ← fill the wrapper vertically */
  object-fit: cover;    /* ← cover it */
  object-position: center top;  /* ← show the top of the video */
  position: relative;
  top: 0;               /* ← no manual offset needed */
  width: 100%;
}

  /* BLOG SECTION: Single-column layout + image scaling */
  .blog-section .col-md-4 {
    flex: 0 0 100%;
    margin: 0 0 20px;
    max-width: 100%;
  }
  .blog-card {
    margin-left: 0;
  }
  .blog-card .image-box img {
    height: auto;
    max-height: 150px;  /* Reduced max-height to scale images down */
    object-fit: cover;
    width: 100%;
  }
  .blog-card .card-title a {
    font-size: 18px;
  }
  .blog-card .blog-meta {
    font-size: 13px;
  }

  /* SOCIAL ICONS & CAROUSEL INDICATORS: Uniform icon sizing */
  .social-icon,
  .carousel-indicators button {
    height: 30px;
    width: 30px;
  }
  .social-icon img,
  .carousel-indicators button img {
    height: 18px;
    width: 18px;
  }
  .info-social-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;               /* modern browsers support flex gap */
    justify-content: space-between;
    /* remove margin‑left/right on children: we'll handle spacing with gap */
    margin-top: -20%;
  }

  .info-box {
    box-sizing: border-box;  /* make sure padding/border stay inside */
    /* each box = one third of the row minus the gap */
    flex: 1 1 calc(33.333% - 10px);
    margin: 0;               /* we’re using gap now */
    max-width: calc(33.333% - 10px);
  }
  .social-links {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-evenly;  /* Even distribution */
  padding: 15px 0;
}

.social-icon {
  align-items: center;
  background: #1d5336;
  border-radius: 50%;
  display: flex;
  height: 40px;     /* Increased container size */
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
  width: 40px;      /* Increased container size */
}

.social-icon:hover {
  background: #FF0000;  /* Change on hover (adjust as needed) */
  transform: translateY(-4px);
}

.social-icon img {
  height: 30px;    /* Increased image size */
  width: 30px;     /* Increased image size */
}


  /* CAROUSEL: Almost full width and shifted downwards */
  .featured-news {
    margin: 50px auto;
    width: 95%;
  }
    
  .page-wrapper {
    margin-top: -50px !important;
  }
  /* VIDEO OVERLAY: Center text inside the unblurred video */
  .video-overlay {
    font-size: 10px;
    left: 50%;
    position: absolute;
    text-align: center;
    top: 40%;
    transform: translate(-50%, -50%);
    width: 80%;
  }
  .video-overlay .overlay-image {
  display: block;
  margin-bottom: 40px; /* Space between the image and text */
}
}


@media (max-width: 425px) {
.unblurred-video {
  border-radius: 10px;
  box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.3);
  left: 50%;
  max-height: 50vh;
  max-width: 65vw;
  overflow: hidden;
  position: absolute;
  top: 52%;
  transform: translate(-50%, -50%);
  width: 65vw;
  z-index: 1;
}

.unblurred-video video {
  height: 100%;         /* ← fill the wrapper vertically */
  object-fit: cover;    /* ← cover it */
  object-position: center top;  /* ← show the top of the video */
  position: relative;
  top: 0;               /* ← no manual offset needed */
  width: 100%;
}

  .blog-card .card-title a {
    font-size: 16px;
  }
  .blog-card .blog-meta {
    font-size: 12px;
  }
  .blog-card .image-box img {
    height: auto;
    max-height: 150px;
    object-fit: cover;
    width: 100%;
  }

  .social-icon,
  .carousel-indicators button {
    height: 28px;
    width: 28px;
  }
  .social-icon img,
  .carousel-indicators button img {
    height: 16px;
    width: 16px;
  }
  .info-box {
    max-width: 100%;
  }
  .featured-news {
    display: none;
  }
  
    .page-wrapper {
    margin-top: -50px !important;
  }
  .unblurred-video {
    border-radius: 10px;
    box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.3);
    height: 90vh;
    left: 50%;
    overflow: hidden;
    position: absolute;
    top: 10%;
    transform: translateX(-50%);
    width: calc(100vw - 10px);
    z-index: 1;
  }
  .unblurred-video video {
    height: 100%;
    object-fit: cover;
    width: 100%;
  }
  .video-overlay {
  left: 50%;
  position: absolute;
  text-align: center; /* Center align the content */
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80%;         /* Adjust as needed */
}

.video-overlay .overlay-image {
  display: block;
  margin-bottom: 120px; /* Space between the image and text */
}

.video-overlay .overlay-content {
  display: block;
}

  .info-social-container {
    align-items: stretch;
    flex-direction: column;
	margin-left: 10px !important;
	margin-right: 10px !important;
    margin-top: -40% !important;
  }
    .social-links {
  align-items: center;
  display: flex;
  justify-content: space-evenly;  /* Evenly distribute icons */
  padding: 5px 0;  /* Add vertical padding if needed */
  width: 100%;
}

.social-icon {
  align-items: center;
  background: #1d5336;
  border-radius: 50%;
  display: flex;
  height: 40px;     /* Increased size */
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
  width: 40px;      /* Increased size */
}

.social-icon:hover {
  background: #FF0000;  /* Change on hover, adjust as needed */
  transform: translateY(-4px);
}

.social-icon img {
  height: 28px;
  width: 28px;     /* Increase image size for better visibility */
}
}

@media (max-width: 375px) {
.unblurred-video {
  border-radius: 10px;
  box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.3);
  left: 50%;
  max-height: 50vh;
  max-width: 65vw;
  overflow: hidden;
  position: absolute;
  top: 52%;
  transform: translate(-50%, -50%);
  width: 65vw;
  z-index: 1;
}

.unblurred-video video {
  height: 100%;         /* ← fill the wrapper vertically */
  object-fit: cover;    /* ← cover it */
  object-position: center top;  /* ← show the top of the video */
  position: relative;
  top: 0;               /* ← no manual offset needed */
  width: 100%;
}

  .page-wrapper {
    margin-top: -50px !important;
  }
  .unblurred-video {
    border-radius: 10px;
    box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.3);
    height: 90vh;
    left: 50%;
    overflow: hidden;
    position: absolute;
    top: 10%;
    transform: translateX(-50%);
    width: calc(100vw - 10px);
    z-index: 1;
  }
  .unblurred-video video {
    height: 100%;
    object-fit: cover;
    width: 100%;
  }
  .video-overlay {
  left: 50%;
  position: absolute;
  text-align: center; /* Center align the content */
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80%;         /* Adjust as needed */
}

.video-overlay .overlay-image {
  display: block;
  margin-bottom: 120px; /* Space between the image and text */
}

.video-overlay .overlay-content {
  display: block;
}

  .info-social-container {
    align-items: stretch;
    flex-direction: column;
	margin-left: 10px !important;
	margin-right: 10px !important;
    margin-top: -45% !important;
  }
    .social-links {
  align-items: center;
  display: flex;
  justify-content: space-evenly;  /* Evenly distribute icons */
  padding: 5px 0;  /* Add vertical padding if needed */
  width: 100%;
}

.social-icon {
  align-items: center;
  background: #1d5336;
  border-radius: 50%;
  display: flex;
  height: 40px;     /* Increased size */
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
  width: 40px;      /* Increased size */
}

.social-icon:hover {
  background: #FF0000;  /* Change on hover, adjust as needed */
  transform: translateY(-4px);
}

.social-icon img {
  height: 28px;
  width: 28px;     /* Increase image size for better visibility */
}
}

@media (max-width: 320px) {
.unblurred-video {
  border-radius: 10px;
  box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.3);
  left: 50%;
  max-height: 50vh;
  max-width: 65vw;
  overflow: hidden;
  position: absolute;
  top: 52%;
  transform: translate(-50%, -50%);
  width: 65vw;
  z-index: 1;
}

.unblurred-video video {
  height: 100%;         /* ← fill the wrapper vertically */
  object-fit: cover;    /* ← cover it */
  object-position: center top;  /* ← show the top of the video */
  position: relative;
  top: 0;               /* ← no manual offset needed */
  width: 100%;
}

  .page-wrapper {
    margin-top: -50px !important;
  }
  .unblurred-video {
    border-radius: 10px;
    box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.3);
    height: 90vh;
    left: 50%;
	margin-left: 5px;
	margin-right: 5px;
    overflow: hidden;
    position: absolute;
    top: 10%;
    transform: translateX(-50%);
    width: calc(100vw  10px);
    z-index: 1;
  }
  .unblurred-video video {
    height: 100%;
    object-fit: cover;
    width: 100%;
  }
  .video-overlay {
  left: 50%;
  position: absolute;
  text-align: center; /* Center align the content */
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80%;         /* Adjust as needed */
}

.video-overlay .overlay-image {
  display: block;
  margin-bottom: 120px; /* Space between the image and text */
}

.video-overlay .overlay-content {
  display: block;
}

  .info-social-container {
    align-items: stretch;
    flex-direction: column;
	margin-left: 10px !important;
	margin-right: 10px !important;
    margin-top: -50% !important;
  }
  .social-links {
  align-items: center;
  display: flex;
  justify-content: space-evenly;  /* Evenly distribute icons */
  padding: 5px 0;  /* Add vertical padding if needed */
  width: 100%;
}

.social-icon {
  align-items: center;
  background: #1d5336;
  border-radius: 50%;
  display: flex;
  height: 40px;     /* Increased size */
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
  width: 40px;      /* Increased size */
}

.social-icon:hover {
  background: #FF0000;  /* Change on hover, adjust as needed */
  transform: translateY(-4px);
}

.social-icon img {
  height: 28px;
  width: 28px;     /* Increase image size for better visibility */
}

}

html[data-bs-theme="dark"] .card-body {
    background-color: #24262b !important; 
    color: #e2e2e3 !important; 
}
