/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

/* 
   Container matching your site’s header container.
   Adjust the padding to match your logo’s alignment.
*/
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 30px; /* Update this if your header uses different padding */
}

/* ===============
   LATEST STORY BANNER
   =============== */
.latest-story-banner {
  position: relative;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 500px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  color: #fff; /* White text */
}

.latest-story-overlay {
  width: 100%;
  min-height: 500px;
  background: rgba(0, 0, 0, 0.3); /* Semi-transparent overlay */
  display: flex;
  align-items: center;
}

.latest-story-content {
  width: 100%;
  padding: 2rem 0;
  text-align: left; /* Ensure text is left aligned */
}

/* Text Styles */
.latest-story-label,
.latest-story-title,
.latest-story-meta {
  color: #fff;
  margin: 0;
  margin-bottom: 4rem;
}

.latest-story-label {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.latest-story-title {
  font-size: 2.5rem;
}

.latest-story-meta {
  font-size: 1rem;
}

/* Button Styles */
.latest-story-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 0rem;
  background: transparent;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}
a.latest-story-button:hover {
	color:#fff;
}

/* Default state for icon circle */
.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2em;
  height: 2em;
  border: 2px solid #fff;
  border-radius: 50%;
  transition: border-color 0.3s ease, color 0.3s ease;
  color: #fff;
}

/* Ensure the button text is positioned to the right of the icon */
.button-text {
  display: inline-block;
}

/* Hover state: both button text and icon circle change to #001D54 */
.latest-story-button:hover .button-text {
  color: #fff;
}

.latest-story-button:hover .icon-circle {
  border-color: #fff;
  color: #fff;
}

/* SVG icon inherits the color from .icon-circle */
.latest-story-icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .latest-story-title {
    font-size: 1.8rem;
  }
  .latest-story-content {
    padding: 1rem 0;
  }
}
/* Home Page Events Styling */
.lumos-events-list {
  margin: 0;
  padding: 0;
}

.lumos-event-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.lumos-event-date-circle {
  background-color: #cc0000;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  flex-direction: column; 
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

.lumos-event-day {
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
}

.lumos-event-num {
  font-size: 16px;
  line-height: 1;
  font-weight: bold;
}

.lumos-event-details {
  flex: 1;
}

.lumos-event-time {
  font-size: 18px;
  color: #3D3D3D;
  font-family: "Sofia Sans", sans-serif;
  margin-bottom: 0.3rem;
}

.lumos-event-title {
  font-size: 24px;
  font-weight: 600; /* semi-bold */
  font-family: "Sofia Sans", sans-serif;
  color: var(--theme-palette-color-2);
  margin: 0;
}

.lumos-event-title a {
  text-decoration: none;
  color: var(--theme-palette-color-2);
}

/* Carousel css */
/* Container for the carousel */
.news-carousel {
	    max-width: 1400px;
  display: flex;
  gap: 20px;
  overflow-x: auto;           /* Horizontal scroll */
  scroll-snap-type: x mandatory;
  padding: 20px;
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
  /* No max-width here by default; see tips below if it's breaking your layout */
}

/* Each "News" card */
.news-card {
  flex: 0 0 auto;
  width: 280px;            /* Adjust as needed */
  height: 440px;           /* Adjust as needed */
  border-radius: 16px;     /* Rounded corners */
  background-size: cover;
  background-position: center;
  position: relative;
  scroll-snap-align: start;
  overflow: hidden;        /* Hide overflow outside the rounded corners */
}

/* Gradient overlay for better text visibility */
.news-overlay {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 60%; /* Adjust how tall the gradient is */
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

/* Text container at the bottom */
.news-content {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  color: #fff;
}

/* Title styling */
.news-title {
  margin: 0 0 10px;
  font-size: 1.1rem;
  line-height: 1.3;
  font-weight: 600;
}

/* Ensure the title link is white, stays white on hover, and underlines on hover */
.news-title a {
  color: #fff;
  text-decoration: none;
}
.news-title a:hover {
  color: #fff;
  text-decoration: underline;
}

/* "Read More" link */
.read-more {
  display: inline-flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  gap: 6px; /* space between icon and text */
}

/* Keep "Read More" white on hover and underline */
.read-more:hover {
  color: #fff;
  text-decoration: underline;
}

/* SVG icon styling */
.read-more svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}


/* Traveler Card for SIngle */ 
/* 1) Force a 3-column grid with a fixed layout (no auto-fill). */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

/* 2) Remove box-shadow. Optionally, you could add minimal spacing or a border if you want. */
.story-card {
    background-color: #fff;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.story-card:hover {
    transform: translateY(-2px);
}

/* 2a) Make sure the featured image has border radius as well. */
.story-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

/* Card content container. */
.story-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
}

/* Date styling. */
.story-date {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

/* Title styling. */
.story-content h3 {
    font-size: 1.25rem;
    margin: 10px 0;
    line-height: 1.2;
}

/* Excerpt styling. */
.story-content p {
    flex-grow: 1;
    margin-bottom: 10px;
}

/* 3) “Read the Story” link in uppercase + color #fff. 
   4) Use :before to display the FA icon. 
   Make sure Font Awesome (regular) is enqueued. */
.read-more {
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px; /* spacing between icon and text */
}



/* Optional hover style—underline to indicate link */
.read-more:hover {
    text-decoration: underline;
}

.author-box-container {
    position: relative;
    background-color: #001D54;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    color: white;
    overflow: visible; /* allow image to overflow nicely */
}

.author-box-content {
    max-width: 100%;
    position: relative;
    z-index: 1;
}

.author-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.author-bio {
    font-size: 1rem;
    line-height: 1.6;
    color: #DDE3F0;
    margin-bottom: 1.5rem;
}

.author-link {
    font-weight: 600;
    color: white;
    text-decoration: none;
    border-bottom: 2px solid #E63946;
    padding-bottom: 2px;
    display: inline-block;
}

.author-image {
    position: absolute;
    top: -60px;
    right: 20px; /* tighter into the container */
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 2;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.author-link:hover {
    border-color: #ffffff;
}
.ct-share-box[data-type=type-2] .ct-icon-container {
    width: initial;
    height: initial;
    padding: 20px 20px !important;
    border-radius: 75% !important;
}
.wpgb-facet>fieldset:last-child{
	margin-bottom:20px !important;
}