.ski-resorts-list {
  margin-top: 30px;
}

.ski-resort-single {
  border-style: solid;
  border-width: 2px 2px 0 2px;
  border-color: #000000;
  padding: 15px 30px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.ski-resort-single:last-child {
  border-bottom-width: 2px;
}

.ski-resort-single a {
  font-size: 20px;
  line-height: 24px;
}

.ski-resort-single a:hover {
  color: #fff;
  text-decoration: underline;
}

.ski-resort-single::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background-color: var(--pbmit-highx-blackish-color);
  transition: all 0.3s ease-in;
  z-index: -1;
}

.ski-resort-single:hover::before {
  width: 100%;
}

.ski-resort-single:hover a {
  color: #fff;
}

.ses-country-gallery-wrapper .gallery-item img {
  cursor: pointer;
  width: 100%;
}

.ses-country-gallery-wrapper .gallery-item {
  width: 25%;
}

.nation-team-image {
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding-bottom: 100%;
}

.wp-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.wp-lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

.wp-lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
}

.ses-button.pbmit-svg-btn a:hover {
  background-color: var(--pbmit-highx-blackish-color);
}

.ses-success-message {
  position: relative;
  padding: 45px 54px;
  text-align: left;
  border: 2px solid #6dcda0;
  background-color: #e5fff3;
  color: #3a7f5f;
}

.ses-success-message .title {
  font-size: 21px;
}

.ses-success-message .pbmit-shape-corner.pbmit-top-left-corner::after {
  left: -2px;
  top: -2px;
  border-top: 52px solid var(--pbmit-highx-white-color);
  border-right: 52px solid transparent;
}

.ses-success-message .pbmit-shape-corner.pbmit-top-left-corner::before {
  border-top: 50px solid #6dcda0;
}

.ses-success-message .pbmit-shape-corner.pbmit-bottom-right-corner::after {
  right: -2px;
  bottom: -2px;
  border-top: 52px solid transparent;
  border-right: 52px solid var(--pbmit-highx-white-color);
}

.ses-success-message .pbmit-shape-corner.pbmit-bottom-right-corner::before {
  border-right: 50px solid #6dcda0;
}

.ses-featured-wrapper {
  clip-path: polygon(8% 0%, 100% 0, 100% 90%, 92% 100%, 0 100%, 0% 10%);
}


.flag-filter-wrapper {
  font-family: sans-serif;
  padding: 20px;
}

.filter-buttons {
  text-align: center;
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  background: #fff;
  border: 2px solid #1f5f6d;
  color: #1f5f6d;
  padding: 6px 22px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 800;
  font-size: 14px;
  transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: #1f5f6d;
  color: #fff;
}

/* Flags Grid */
.flags-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 120px);
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
  gap: 30px;
}

/* The Flag Circle */
.country-item {
  display: block;
  width: 100%;
  padding-bottom: 100%;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid #eee;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.country-item:hover {
  transform: scale(1.1);
}

/* Hide logic */
.country-item.hidden-flag {
  display: none;
}

.country-club-item-single {
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.pbmit-client-style-1 .country-club-item-single .pbmit-client-content {
  padding: 20px;
}

.country-club-item-single .country-logo {
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  padding-bottom: 100%;
  width: 100%;
}

.country-club-item-single .country-club-name span {
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
  font-family: Teko, sans-serif;
}

.country-article-featured-thumbnail {
  padding-bottom: 70%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.nation-club-logo-wrapper {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.nation-club-logo-wrapper .nation-club-logo {
  width: 100% !important;
  height: auto !important;
}

:root {
  --bg-dark: #2e2e2e;
  --accent-red: #e63946;
  --text-white: #ffffff;
  --border-gray: #333333;
  --cut-size: 40px;
  /* Control the corner cut here */
}

/* Main Container with Static Pixel Cut */
.events-board {
  width: 100%;
  background-color: var(--bg-dark);
  color: var(--text-white);
  padding: 50px;
  box-sizing: border-box;
  clip-path: polygon(var(--cut-size) 0,
      100% 0,
      100% calc(100% - var(--cut-size)),
      calc(100% - var(--cut-size)) 100%,
      0 100%,
      0 var(--cut-size));
  text-transform: uppercase;
}

.header-section {
  margin-bottom: 10px;
  padding-bottom: 15px;
}

.header-section h1 {
  font-size: 3.5rem;
  margin: 0;
  letter-spacing: 1px;
  font-weight: 400;
  color: #fff;
}

.activities-label {
  color: var(--accent-red);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 15px;
  letter-spacing: 2px;
}

.activities-label::after {
  content: "";
  height: 1px;
  width: 100%;
  background-color: #fff;
}

/* Event Row */
.event-row {
  padding: 25px 0;
    border-bottom: 1px solid var(--border-gray);
}

.event-row:last-child {
  border-bottom: none;
}

.event-link{
  display: flex;
    align-items: center;
    gap: 25px;
}

/* Image Styling with 20px static cut */
.event-image {
  width: 240px;
  height: 140px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  clip-path: polygon(20px 0,
      100% 0,
      100% calc(100% - 20px),
      calc(100% - 20px) 100%,
      0 100%,
      0 20px);
}

.event-info {
  flex-grow: 1;
}

.meta-data {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: bold;
}

.dot {
  color: var(--accent-red);
  font-size: 10px;
}

.event-title {
  font-size: 2.5rem;
  margin: 0;
  line-height: 1;
  color: #fff;
  font-weight: 300;
}

.live-stream-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.live-stream-btn span {
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 1px;
  color: #fff;
}

.icon-box {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-box img{
  width: 100%;
}

/* SVG Play Icon Styling */
.play-icon {
  width: 30px;
  height: 30px;
  fill: white;
  /* Slight nudge to visually center the triangle point */
  margin-left: 3px;
}

.live-event-stream-wrapper{
  position: relative;
  padding-top: 200px;
  margin-top: 70px;
}

.live-event-stream-wrapper .bacground-element{
  position: absolute;
  z-index: -1;
  height: auto;
}

.live-event-stream-wrapper .bacground-element img{
  max-height: 100vh;
  width: auto;
}

.live-event-stream-wrapper .bacground-element-left{
  left: 0;
  top: 0;
  transform: translateX(-60%);
}

.live-event-stream-wrapper .bacground-element-right{
  right: 0;
  top: 0%;
  transform: translateX(60%);
}

.live-event-stream-wrapper .bacground-element-center{
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 50%;
  max-width: 600px;
}

.live-event-stream{
  display: flex;
    justify-content: center;
}

.live-event-info-section .pbmit-team-single-style-2 .pbmit-team-single-info{
  padding-top: 0;
}

.wpem-single-event-sidebar-info .wpem-heading-text {
    font-size: 20px;
    line-height: 20px;
    letter-spacing: .25px;
    font-weight: 500;
    margin-bottom: 3px;
    color: var(--pbmit-highx-secondary-color);
}

.location-wrapper .resort-image{
  width: 100%;
  max-width: 220px;
  height: 220px;
  border-radius: 100%;
  border: 4px solid var(--pbmit-highx-global-color);
  background-size: cover;
  background-position: center;
}

.location-wrapper .wpem-organizer-inner-wrapper{
  padding: 30px 40px 30px 40px;
}

.location-wrapper .wpem-organizer-name{
  font-family: Teko, sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 22px;
    line-height: 22px;
    color: var(--pbmit-highx-blackish-color);
}

.location-wrapper .wpem-organizer-description{
  margin-bottom: 30px;
    max-width: 85%;
}

.ses-sctivity-image{
    background-size: cover;
    background-position: center;
    padding-bottom: 130%;
        clip-path: polygon(15% 0%, 100% 0, 100% 87%, 85% 100%, 0 100%, 0% 13%);
}

.ses-sctivity-image .country-icon{
    width: 60px;
    height: 60px;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    border: 2px solid #fff;
    position: absolute;
    top: 35px;
    right: 35px;
    transform: translate(50%, -50%);
}

.live-event-featured-image::after{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-image: url('../img/live-event-overlay.png') ;
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    transition: all 0.3s ease-in;
}

.pbmit-featured-container:hover .live-event-featured-image::after{
    opacity: 0;
}

.country-profile-icon{
    width: 60px;
    height: 60px;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    border: 2px solid #fff;
    top: 35px;
    right: 35px;
    margin-left: 20px;
}


.pbmit-team-single-style-2 .pbmit-team-single-info .pbmit-team-detail .pbmit-team-des{
  padding: 50px 100px 50px 100px !important;
}

.pbmit-team-subtitle a{
  color: var(--pbmit-highx-global-color);
  font-size: 20px;
  margin-bottom: 30px;
}

.pbmit-team-subtitle a:hover{
  text-decoration: underline;
}

.pbmit-service-style-2 .pbmit-service-image-wrapper{
  margin-bottom: 10px;
}

.highlighted-text{
  color: var(--pbmit-highx-global-color);
  font-weight: 500;
}

.pbmit-social-li a{
  background-color: #fff;
  color: var(--pbmit-highx-global-color);
}

.pbmit-social-li a:hover{
  background-color: transparent;
    color: var(--pbmit-highx-secondary-color);
}

.pbmit-social-li i::before{
  margin: 0;
}

.pbmit-team-social-links li a{
  padding: 6px 9px;
  font-size: 24px;
}

.pbmit-social-links li:not(:last-child), .pbmit-contact-info li:not(:last-child){
  padding: 0 8px 0 0 !important;
  margin-right: 0;
}

.pbmit-service-style-2 .pbmit-service-title{
  color: #000000;
}

.add-articles-header .pbmit-element-title{
  margin-bottom: 0;
}

.add-articles-header .ses-button{
  margin-left: 25px;
}

.pbmit-header-style-4 .nav-menu-toggle .pbmit-base-icon-menu-1{
  color: #000000 !important;
}

@media (max-width: 1200px) {
  .ses-country-gallery-wrapper .gallery-item {
    width: 33.33%;
  }

  .pbmit-team-single-style-2 .pbmit-team-single-info .pbmit-team-detail .pbmit-team-des{
    padding: 50px 30px 50px 20px !important;
  }

  .location-wrapper .resort-image{
    height: unset;
    padding-bottom: 100%;
    border: 2px solid var(--pbmit-highx-global-color);
  }
}

@media (max-width: 768px) {
  .ses-country-gallery-wrapper .gallery-item {
    width: 50%;
  }
}

@media (max-width: 480px) {
  .ses-country-gallery-wrapper .gallery-item {
    width: 100%;
  }
}


/* Responsive Design */
@media (max-width: 768px) {
  .event-link {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 0;
  }

  .event-image {
    width: 100%;
    height: 180px;
  }

  .live-stream-btn {
    flex-direction: row;
    align-self: flex-start;
    gap: 15px;
  }

  .location-wrapper .wpem-organizer-inner-wrapper{
    padding: 10px;
  }
}

/* Responsive Design */
@media (max-width: 850px) {
  .event-link {
    flex-direction: column;
    align-items: flex-start;
  }

  .event-image {
    width: 100%;
    height: 200px;
  }

  .live-stream-btn {
    display: none;
  }

  .header-section h1 {
    font-size: 2.5rem;
  }

  .event-title {
    font-size: 1.8rem;
  }

  .live-event-stream-wrapper{
    padding-top: 100px !important;
  }

  .country-club-item-single{
    padding: 0;
  }

  .filter-btn{
    padding: 5px !important;
    font-weight: 500;
  }
}