.wysiwyg-with-title-decorations h1 {
  color: black !important;
}
.inner-container {
  background-position: center;
  background-size: cover;
  text-align: center !important;
  padding: 70px 20px;
  background-image: url(https://www.unitedrugby.com/wp-content/uploads/2025/06/658335cb-3fb2-4620-af57-f42c25af4ced.jpeg);
}

h2.elementor-heading-title.elementor-size-default {
  padding-bottom: 4rem;
}

.share-network-facebook button:hover {
  color: rgb(51 122 183 / var(--tw-text-opacity));
}
.share-network-twitter button:hover {
  color: rgb(30 157 236 / var(--tw-text-opacity));
}
.share-network-whatsapp button:hover {
  color: rgb(37 211 102 / var(--tw-text-opacity));
}
.share-network-linkedin button:hover {
  color: rgb(0 127 177 / var(--tw-text-opacity));
}
.share-network-email button:hover {
  color: rgb(255 255 255 / var(--tw-text-opacity));
}
button:hover {
  background-color: black;
  border-color: rgb(0 205 230 / var(--tw-border-opacity));
}

.ease-in {
  transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
}
.duration-200 {
  transition-duration: 0.2s;
}
.text-turquoise-primary {
  --tw-text-opacity: 1;
  color: rgb(0 205 230 / var(--tw-text-opacity));
}
.border-turquoise-primary {
  --tw-border-opacity: 1;
  border-color: rgb(0 205 230 / var(--tw-border-opacity));
}
.border-solid {
  border-style: solid;
}
.border {
  border-width: 1px;
}

.rounded-\[50\%\] {
  border-radius: 50%;
}
.justify-center {
  justify-content: center;
}
.items-center {
  align-items: center;
}
.w-\[38px\] {
  width: 38px;
}
.h-\[38px\] {
  height: 38px;
}
.mr-2 {
  margin-right: 0.5rem;
}
[role="button"],
button {
  cursor: pointer;
}
.article-container button {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
}
.article-container button,
select {
  text-transform: none;
}
.article-container button {
  color: rgb(0 205 230) !important;
  font-family: inherit;
  font-feature-settings: inherit;
  font-size: 100%;
  font-variation-settings: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  margin: 0;
  margin-right: 10px;
  padding: 0;
}
/* :bg-black:hover {
	--tw-bg-opacity: 1;
	background-color: rgb(0 0 0 / var(--tw-bg-opacity)) !important;
	} */
.inner1 {
  display: flex;
  color: var(--e-global-color-de7564e) !important;
  align-items: center;
  justify-content: space-between;
  gap: 2px;
}
.inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.ast-container {
  max-width: 100vw !important;
  flex-direction: column !important;
}
#download-pdf {
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
  background-color: transparent;
  background: var(--e-global-color-75b9bae) !important;
  border: 1px solid var(--e-global-color-accent);
  color: #fff !important;
  padding: 12px 18px 13px 18px !important;
  border-radius: 8px 0px 8px 0px !important;
  font-family: var(--e-global-typography-accent-font-family);
  letter-spacing: 2px;
}
/* Your custom styles */
/* Article container and its elements styling */
/* CSS for the overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
  z-index: 9998; /* Ensure it's behind the modal */
  display: none; /* Initially hidden */
}

.outer-container {
  position: fixed;
  top: 0;
  z-index: 150;
  bottom: 0;
  padding: 4rem 2rem;
  right: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.6);
  overflow: auto;
  align-items: center;
  flex-direction: column;
}

.outer-container.show {
  padding-bottom: 40px;
  display: flex !important;
}
.outer-container.show .related-articles {
  margin-bottom: 4rem; /* Adjust as needed */
}

.jet-listing-grid__item {
  cursor: pointer;
}

/* Update article-container to adjust for overlay */
.article-container {
  margin: auto;
  position: relative;
  width: 100%;
  max-width: 1038px;
  min-height: 200px;
  background-color: #fff !important;
}
.close-article-container {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  color: var(--e-global-color-accent);
  border: none;
  font-size: 24px;
  cursor: pointer;
  box-shadow: none !important;
}
.close-article-container:hover {
  background: #00000000;
}

/* Modal loader: shown until article + related data are loaded */
.article-modal-loader {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  z-index: 10;
  min-height: 280px;
}
.article-modal-loader[aria-hidden="true"] {
  display: none;
}
.article-modal-loader:not([aria-hidden="true"]) {
  display: flex;
}
/* .article-modal-loader-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #e0e0e0;
  border-top-color: var(--e-global-color-accent, #00cde6);
  border-radius: 50%;
  animation: article-loader-spin 0.9s linear infinite;
} */
/* .article-modal-loader-text {
  margin-top: 14px;
  font-size: 16px;
  color: #333;
} */
/* @keyframes article-loader-spin {
  to {
    transform: rotate(360deg);
  }
} */

.article-modal-loader-spinner {
  width: 90px; /* adjust size */
  height: 90px;
  background-image: url("/wp-content/themes/urc-media-center/images/UrcLoader.gif"); /* your GIF path */
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* Skeleton: visible immediately when modal opens so header/hero layout and CSS paint first */
.article-modal-skeleton {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  padding: 0 20px 20px;
  pointer-events: none;
}
.article-modal-skeleton[aria-hidden="true"] {
  display: none !important;
}
.article-modal-skeleton[aria-hidden="false"] {
  display: block;
}
.article-modal-skeleton-header {
  max-width: 1252px;
  margin: 0 auto;
  padding: 0;
}
.article-modal-skeleton-cat {
  width: 140px;
  height: 22px;
  background: #e8e8e8;
  border-radius: 4px;
  margin-bottom: 12px;
}
.article-modal-skeleton-title {
  width: 85%;
  max-width: 700px;
  height: 36px;
  background: #e0e0e0;
  border-radius: 4px;
  margin-bottom: 12px;
}
.article-modal-skeleton-meta {
  width: 200px;
  height: 18px;
  background: #e8e8e8;
  border-radius: 4px;
  margin-bottom: 20px;
}
.article-modal-skeleton-hero {
  width: 100%;
  max-width: 1252px;
  margin: 0 auto;
  height: 320px;
  min-height: 280px;
  background: linear-gradient(90deg, #e8e8e8 25%, #eee 50%, #e8e8e8 75%);
  background-size: 200% 100%;
  animation: article-skeleton-shine 1.5s ease-in-out infinite;
  border-radius: 4px;
}
@keyframes article-skeleton-shine {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Related "Latest" section loader (shown while fetching related in background) */
.related-articles-loader {
  display: none;
  padding: 16px;
  text-align: center;
}
.related-articles-loader[aria-hidden="false"] {
  display: block;
}
.related-articles-loader-spinner {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 2px solid #e0e0e0;
  border-top-color: var(--e-global-color-accent, #00cde6);
  border-radius: 50%;
  animation: article-loader-spin 0.8s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}
.related-articles-loader-text {
  font-size: 14px;
  color: #555;
}

.article-content {
  display: block;
  padding: 10px;
  background-color: #fff;
}

.header-container,
.category-text,
.hero-title,
.published-date,
.hero-description,
.hero-image {
  /* Add your specific styles here */
  margin: 0 auto !important; /* Removed margin-bottom here for consistency */
  max-width: 1252px !important;
  padding: 0px !important;
}

/* Container Styling */
.ast-container-custom {
  width: 100vw !important;
  max-width: 100% !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

/* Flex Container for Title, Date, and Social Icons */
.header-container {
  margin: 0 auto !important; /* Removed margin-bottom here for consistency */
  max-width: 1252px !important;
  padding: 40px 56px 32px !important;
  background-color: var(--e-global-color-6168db6);
}

/* Category and Title Styling */
.category-text {
  margin-bottom: 1rem !important;
  color: var(--e-global-color-0bb3489) !important;
  border: 1px solid var(--e-global-color-0bb3489) !important;
  border-radius: 0.25rem 0 0.25rem 0 !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  font-size: 0.875rem !important;
  line-height: 1.25rem !important;
  text-transform: uppercase !important;
  display: inline-block !important;
  padding: 0.25rem 0.5rem !important;
}

/* Title Styling */
.hero-title {
  font-size: 3rem !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  color: var(--e-global-color-secondary) !important;
  font-family:
    "Red Hat Display", sans-serif !important; /* Simplified font-family declaration */
  margin: 0 0 24px !important;
}

.date-social-container {
  display: flex !important;
  gap: 5px !important;
  align-items: center !important;
  justify-content: space-between;
}

.divider {
  display: inline-block !important;
  width: 1px !important;
  height: 1.25rem !important; /* 5 * 0.25rem = 1.25rem, based on Tailwind's spacing scale */
  background-color: var(
    --e-global-color-b117ea4
  ) !important; /* Mono-300 color in Tailwind CSS */
  margin: 0 1rem !important; /* mx-4 equivalent in rem units (4 * 0.25rem) */
}

.published-date {
  color: var(--e-global-color-de7564e) !important;
  padding: 0px !important;
  padding-right: 2px !important;
}
.read-time-minutes {
  color: var(--e-global-color-de7564e) !important;
}
.spons {
  color: var(--e-global-color-de7564e) !important;
}
/* Hero Image 
	.hero-image {
	width: 100vw !important;
	height: 60vh !important;
	margin-bottom: 20px !important;
	object-fit:cover;
	}*/
.hero-container {
  position: relative;
  width: 100%;
  height: 60vh; /* Adjust height as needed */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.hero-image {
  width: 100%;
  object-fit: cover;
}
/* Reserve space in modal so header/hero paint immediately (image loads after) */
.article-container .hero-image {
  min-height: 280px;
  background: #f0f0f0;
  display: block;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(transparent, black);
  background-blend-mode: overlay;
  pointer-events: none; /* Allows clicks to pass through to underlying content */
}

.hero-description {
  font-size: 1.5rem !important;
  line-height: 2rem !important;
}
p.hero-description {
  /* width: 670px; */
  padding-left: 0px !important;
  padding: 32px 184px !important;
  background-color: #fff;
  color: #000;
}
.article-content ol,
ul {
  margin: 0;
}
.article-container ul {
  list-style-type: disc;
  color: #000 !important;
}

.article-content {
  display: block;
  /* padding: 10px; */
}

.text-block {
  font-family: "Red Hat Display" !important;
  font-weight: 400;
  font-size: 18px !important;
  font-size: 1rem;
  line-height: var(--ast-body-line-height, 1.65);
  color: #000000 !important;
}
.promo-block {
  padding: 64px 0px;
}
.article-content {
  margin: 0 auto !important;
  padding: 1px 184px 50px 184px !important;
  /* width: 926px !important; */
  background-color: var(--e-global-color-6168db6);
}

/* Base styles for the share buttons container */
.share-buttons {
  display: flex !important;
  align-items: center !important;
}

.flex {
  display: flex !important;
}

/* Common Button Styles */
.social-button {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 38px !important;
  height: 38px !important;
  border: 1px solid !important;
  border-radius: 50% !important;
  border-color: var(--e-global-color-accent) !important; /* Turquoise Primary */
  color: var(--e-global-color-accent) !important; /* Turquoise Primary */
  background-color: var(--e-global-color-6168db6) !important;
  margin-right: 8px !important; /* Equivalent to 'mr-2' */
  transition:
    background-color 0.2s ease-in,
    color 0.2s ease-in !important;
}

/* Hover Effects */
.social-button:hover {
  background-color: #000 !important; /* Black */
}

.facebook-button:hover {
  color: #4267b2 !important; /* Facebook Color */
}

.twitter-button:hover {
  color: #1da1f2 !important; /* Twitter Color */
}

.whatsapp-button:hover {
  color: #25d366 !important; /* WhatsApp Color */
}

.linkedin-button:hover {
  color: #0077b5 !important; /* LinkedIn Color */
}

.email-button:hover {
  color: #d44638 !important; /* Email Color */
}

/* Social Icon */
.social-icon {
  width: 24px !important;
  height: 24px !important;
}

.article-container .elementor.elementor-3026 {
  background-image: url(https://www.unitedrugby.com/wp-content/uploads/2025/06/658335cb-3fb2-4620-af57-f42c25af4ced.jpeg);
  background-position: center;
  background-size: cover;
  text-align: center !important;
  padding: 20px;
}

.article-container .elementor-widget-button .elementor-button {
  font-family: var(--e-global-typography-accent-font-family), Sans-serif;
  background-color: #0f212f;
  margin-top: 10px;
}

.article-container .elementor-widget-heading h2 {
  line-height: 1.3em;
  text-align: center;
  font-weight: 400;
  font-family: "URC Sans";
  font-size: 42px;
}
.article-container
  .related-articles
  .elementor-38
  .elementor-element.elementor-element-7976fae
  .elementor-heading-title {
  text-align: left;
  font-size: 20px;
  font-family: "URC Sans";
  padding-left: 10px;
}

.article-container
  .jet-listing-grid__items.grid-col-desk-4.grid-col-tablet-4.grid-col-mobile-4.jet-listing-grid--38.jet-equal-columns__wrapper {
  pointer-events: none;
}
/* Style for the bullet points */
.article-container ul {
  list-style-type: disc; /* Use black circles for bullets */
  /* padding-left: 20px; /* Add some left padding */
}

.article-container li {
  margin-bottom: 10px; /* Add some space between list items */
}
.article-container
  .related-articles
  p.elementor-heading-title.elementor-size-default {
  color: red;
  border: 1px solid red;
  width: fit-content;
  padding: 2px 10px;
  margin: 0px 10px;
  border-radius: 5px 0px 5px;
  line-height: 14px;
  font-weight: 600;
  font-size: 14px;
}

.article-container .related-articles .elementor img {
  height: auto;
  max-width: 100%;
  border: none;
  border-radius: 10px 0px 0px 0px;
  box-shadow: none;
  margin-top: -26.5px;
}

.article-container .jet-listing-grid__item.jet-equal-columns > .elementor {
  height: 100%;
  background-color: #fff;
  border-radius: 10px 0px 10px 0px;
}
.article-container
  .related-articles
  .jet-listing.jet-listing-dynamic-field.display-inline {
  display: block;
  max-width: 100%;
  display: none;
}
.article-container
  .related-articles
  h6.elementor-heading-title.elementor-size-default {
  padding-left: 10px;
  margin-bottom: -15px;
}
.article-container
  .related-articles
  .elementor-38
  .elementor-element.elementor-element-7976fae
  .elementor-heading-title {
  text-align: left;
  font-size: 18px;
  font-family: "Red Hat Display";
  padding-left: 10px;
  font-weight: 900;
}

/* Style for links */
a.content-block-text-link {
  color: #000; /* Black color for the link text */
  text-decoration: underline; /* Underline the link */
}

.article-container .button-block {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 1px solid rgb(0 205 230);
  padding: 0.625rem 22px;
  font-size: 1rem;
  font-family: "URC Sans";
  width: fit-content;
  border-radius: 10px 0px 10px 0px;

  margin: 15px auto;
}

.article-container .button-block a {
  color: #000 !important;
}
.article-container .article-content img {
  height: auto;
  max-width: 926px;
  padding: 64px 0px;
  margin: 0px;
  overflow: hidden;
  margin-left: -130px !important;
}
.video-block {
  padding: 50px;
}

.article-container a {
  color: #000;
  text-decoration: underline;
}
.embed-container {
  position: relative;

  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin: 50px 0px;
}
.twitter-tweet.twitter-tweet-rendered {
  margin: 50px 0px !important;
}

.text-block h2 strong {
  font-weight: bolder;
  font-family: "URC Sans";
  font-size: 28px;
}
/* Recent Added CSS */
.article-container .related-articles.no-print {
  padding-bottom: 50px;
}
.article-container .related-articles.no-print .article-slide {
  background-color: #fff !important;
  height: 358px !important;
  border-radius: 0px 0px 15px 0px;
}

.article-container
  .related-articles.no-print
  h2.elementor-heading-title.elementor-size-default {
  line-height: 1.3em;
  text-align: center;
  font-weight: 400;
  font-family: "URC Sans";
  font-size: 42px;
  padding-bottom: 50px !important;
}
.article-container
  .related-articles.no-print
  .elementor-widget-button
  .elementor-button {
  font-family: var(--e-global-typography-accent-font-family), Sans-serif;
  background-color: #0f212f;
  margin-top: 10px;
}

/* Article slide */
.article-slide {
  border-radius: 15px 0px 15px 0px !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #fff !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  box-sizing: border-box;
  height: 100%;
  overflow: hidden;
  max-width: 372px !important;
  cursor: pointer;
}

/* Article image */
.article-slide img {
  width: 100%;
  height: 222px;
  object-fit: cover;
  object-position: top center;
  margin-bottom: 5px;
  overflow: hidden;
  transition: transform 0.3s ease;
  border-radius: 15px 0px 0px 0px;
}

.article-slide img:hover {
  transform: scale(1.05);
}

/* Article meta */
.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding: 10px 20px 0px 20px;
}

/* Article category */
.article-category {
  color: var(--e-global-color-0bb3489);
  font-family: "Red Hat Display", Sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid var(--e-global-color-0bb3489);
  padding: 0.2px 5px;
  border-radius: 5px 0;
  display: inline-block;
}

/* Article date */
.article-date {
  color: var(--e-global-color-de7564e);
  font-family: "Red Hat Display", Sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 13.23px;
  letter-spacing: 0.5px;
}

/* Article title */
.article-slide h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2; /* max lines before cutoff */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 48px; /* keeps height consistent */
  color: var(--e-global-color-secondary);
  font-family: "Red Hat Display", Sans-serif;
  font-size: 20px;
  font-weight: 900;
  line-height: 24px;
  letter-spacing: 0.3px;
  margin: 5px 0;
  text-align: left;
  padding: 0px 10px 0px 20px;
}

/* Read time */
.article-read-time {
  color: #747474;
  font-size: 12px;
  padding: 0px 20px 10px 20px;
  text-align: left;
  display: block;
}

/* Remove background color and adjust border radius on hover */
.article-slide a {
  background-color: #fff !important;
  text-decoration: none;
  color: inherit;
}

.article-slide a:hover {
  background-color: #fff !important;
}

.splide__arrow {
  background-color: rgba(0, 0, 0, 0.2);
  border: none;
  color: white;
  font-size: 20px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-container .related-articles.no-print button {
  color: rgb(0 205 230) !important;
  font-family: inherit;
  font-feature-settings: inherit;
  font-size: 100%;
  font-weight: inherit;
  gs: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  margin: 0;
  margin-right: 33px;
  padding: 5px 10px;
  top: 0;
  right: 4px;
  /* left: 900px; */
  margin-top: -70px;
  margin-left: 817px;
  border: 1px solid #000;
  border-radius: 0px 20px 20px 0px;
}
.article-container .related-articles.no-print h3 {
  margin-top: 0px;
  font-size: 20px;
  color: #000;
  text-align: left;
  font-weight: 900;
  padding: 0px 20px 0px 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}
.article-container .elementor-button {
  display: inline-block;
  /* line-height: 1; */
  background-color: #204055 !important;
  font-size: 1.25rem !important;
  line-height: 1.75rem;
  padding: 12px 24px;
  border-radius: 3px;
  color: #fff;
  fill: #fff;
  text-align: center;
  transition: all 0.3s;
  text-decoration: none !important;
  text-transform: uppercase;
  font-family: "URC Sans";
  width: 136px;
  height: 50px;
  margin-top: 30px;
}
button.splide__arrow.splide__arrow--prev {
  border-radius: 20px 0px 0px 20px !important;
  width: 4em;
}
button.splide__arrow.splide__arrow--next:hover {
  background-color: rgb(20 40 55) !important;
  color: #fff;
  fill: #fff !important;
}
button.splide__arrow.splide__arrow--next {
  border-radius: 0px 20px 20px 0px;
  width: 4em;
}
.splide__arrow svg {
  fill: #000;
  height: 0.7em;
  width: 1.2em;
}

.splide__arrow.splide__arrow--next:hover,
.splide__arrow.splide__arrow--prev:hover {
  background-color: rgb(20, 40, 55) !important;
  color: #fff !important;
}

.splide__arrow.splide__arrow--next:hover svg,
.splide__arrow.splide__arrow--prev:hover svg {
  fill: #fff !important;
}
