/*
 Theme Name:   The Lab at City Light
 Theme URI:    https://generatepress.com
 Description:  A GeneratePress child theme
 Author:       Swatch Junkie Creative LLC
 Author URI:   https://swatchjunkie.com
 Template:     generatepress
 Version:      0.1
*/



/* Set the main content area to a minimum of 65vh */
#main {
	min-height: 65vh;
}


/* Site Wrapper to set overall site max width */
.site-wrapper {
	width: 100%;
	max-width: 1920px;
} 



/* HELPER CLASSES */

/* Standard Shadow(s) */

.shadow-standard {
	box-shadow: 0px 5px 16px -5px rgba(33, 33, 33, 0.2);
	transition: all .2s ease-in;
}

.shadow-standard:hover {
	box-shadow: 0px 8px 32px 0px rgba(33, 33, 33, 0.1);
}

/* Max Width(s) */

.max-width-1024 {
	max-width: 1024px;
}


.max-width-768 {
	max-width: 768px;
}

.max-width-640 {
	max-width: 640px;
}

.max-width-480 {
	max-width: 480px;
}

/* Margin Auto */

.margin-auto{
	margin-left: auto;
	margin-right: auto;
}

/* Position Properties */

.relative{
	position: relative;
}

.absolute{
	position:absolute;
	top: 0px;
	left: 0px;
}

.sticky{
	position: sticky;
	top: 24px;
}

/* Image Aspect Ratios */

.aspect-1-1 img{
    aspect-ratio: 1/1;
	object-fit: cover;
}

.aspect-3-2 img{
    aspect-ratio: 3/2;
	object-fit: cover;
}

.aspect-2-3 img{
    aspect-ratio: 2/3;
	object-fit: cover;
}

.aspect-4-3 img{
    aspect-ratio: 4/3;
	object-fit: cover;
}

.aspect-3-4 img{
    aspect-ratio: 3/4;
	object-fit: cover;
}

.aspect-16-9 img{
    aspect-ratio: 16/9;
	object-fit: cover;
}

.aspect-9-16 img{
    aspect-ratio: 9/16;
	object-fit: cover;
}







/* No Underline for links */
.no-underline a {
    text-decoration: none;
}



/* Comment section width and padding */
#comments {
    max-width: 1280px;
    padding: 1rem;
    margin: 0 auto; /* center it on the page */
    box-sizing: border-box; /* makes padding included in the width */
}







/* ================================================
    Calendar — Design Customization
   ================================================ */

/* ── Wrapper ── */
.piecal-wrapper {
  font-family: 'Segoe UI', sans-serif;
  max-width: 680px;
  margin: 0 auto;
}

/* ── Hide default Pie Calendar controls we don't need ── */
.piecal-controls__skip-calendar,
.piecal-controls__back-to-month {
  display: none !important;
}

/* ── Top control bar ── */
.piecal-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 16px;
  gap: 10px;
}

/* ── Hide Today button ── */
.piecal-controls__today-button {
  display: none !important;
}

/* ── Month label — June 2026 ── */
.piecal-controls__view-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1e293b;
  flex: 1;
  text-align: left;
  order: -1;
}

/* ── Prev / Next arrows ── */
.piecal-controls__navigation-button-group {
  display: flex;
  gap: 6px;
  align-items: center;
}

.piecal-controls__prev-button,
.piecal-controls__next-button {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 6px !important;
  width: 32px !important;
  height: 32px !important;
  font-size: .9rem !important;
  color: #475569 !important;
  box-shadow: none !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: background .2s !important;
}
.piecal-controls__prev-button:hover,
.piecal-controls__next-button:hover {
  background: #e2e8f0 !important;
}

/* ── Month View dropdown — hide label, keep select only ── */
.piecal-controls__view-chooser {
  display: flex !important;
  align-items: center;
  order: 1;
}
.piecal-controls__view-chooser label,
.piecal-controls__view-chooser > *:not(select) {
  display: none !important;
}
.piecal-controls__view-chooser select {
  appearance: none;
  -webkit-appearance: none;
  background-color: #1447AD !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 7px 32px 7px 14px !important;
  font-size: .85rem !important;
  font-weight: 600 !important;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='white' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 10px center !important;
}

/* ── Calendar grid ── */
.fc-theme-standard td,
.fc-theme-standard th {
  border-color: #e2e8f0 !important;
}

.fc .fc-scrollgrid {
  border-radius: 10px;
  overflow: hidden;
  border-color: #e2e8f0 !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
}

/* ── Day header row ── */
.fc .fc-col-header-cell {
  background: #F6FBFE !important;
  padding: 10px 0 !important;
}
.fc .fc-col-header-cell a,
.fc .fc-col-header-cell-cushion {
  color: black !important;
  font-size: .78rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: .05em !important;
  text-decoration: none !important;
}

/* Show short day name only */
.piecal-grid-day-header-text--full,
.piecal-grid-day-header-text--single-letter {
  display: none !important;
}
.piecal-grid-day-header-text--short {
  display: inline !important;
}

/* ── Day cells ── */
.fc .fc-daygrid-day {
  background: #ffffff;
  min-height: 72px !important;
}
.fc .fc-daygrid-day:hover {
  background: #f8fafc !important;
}

/* Other month days (greyed out) */
.fc .fc-day-other {
  background: #f8fafc !important;
  opacity: .6;
}

/* ── Day number ── */
.fc .fc-daygrid-day-number {
  font-size: .82rem !important;
  font-weight: 600 !important;
  color: #334155 !important;
  padding: 6px 8px !important;
  text-decoration: none !important;
}

/* ── Today highlight ── */
.fc .fc-day-today {
  background: #ffffff !important;
}
.fc .fc-day-today .fc-daygrid-day-number {
  background: #1447AD !important;
  color: #ffffff !important;
  border-radius: 50% !important;
  width: 26px !important;
  height: 26px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 6px !important;
}

/* ── Event dot ── */
.fc-daygrid-event-dot {
  border-color: #1447AD !important;
  border-width: 5px !important;
  border-radius: 50% !important;
  margin-right: 4px !important;
}

.fc .fc-daygrid-dot-event {
  background: transparent !important;
  border: none !important;
  padding: 1px 4px !important;
}

.fc .fc-daygrid-dot-event .fc-event-title {
  font-size: .72rem !important;
  color: #1447AD !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 90px !important;
}

.fc .fc-event-time {
  display: none !important;
}

/* ── Popover ── */
.piecal-popover {
  background: #ffffff !important;
  border-radius: 14px !important;
  box-shadow: 0 20px 60px rgba(0,0,0,.18) !important;
  border: 1px solid #e2e8f0 !important;
  padding: 20px !important;
  max-width: 340px !important;
  font-family: 'Segoe UI', sans-serif !important;
}

.piecal-popover__title {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #1447AD !important;
  margin: 0 0 10px !important;
}

/* ── Close button — transparent ── */
.piecal-popover__close-button {
  background: transparent !important;
  border: none !important;
  border-radius: 50% !important;
  width: 28px !important;
  height: 28px !important;
  cursor: pointer !important;
  font-size: 1rem !important;
  color: #64748b !important;
}
.piecal-popover__close-button:hover {
  background: #f1f5f9 !important;
  color: #1e293b !important;
}

.piecal-popover__meta p {
  font-size: .82rem !important;
  color: #1447AD !important;
  margin: 2px 0 !important;
}

.piecal-popover__view-link {
  display: inline-block !important;
  margin-top: 12px !important;
  background: #1447AD !important;
  color: #fff !important;
  padding: 7px 18px !important;
  border-radius: 6px !important;
  font-size: .82rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}
.piecal-popover__view-link:hover {
  background: #0f3a8a !important;
}

.piecal-popover hr {
  border-color: #e2e8f0 !important;
  margin: 10px 0 !important;
}

/* ── Footer ── */
.piecal-footer {
  display: none !important;
}

/* ── Responsive ── */
@media (max-width: 600px) {

  /* ── Wrapper — use full width ── */
  .piecal-wrapper {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* ── Remove any outer padding from the grid ── */
  .fc .fc-scrollgrid {
    border-radius: 6px !important;
  }

  /* ── Day cells — tighter ── */
  .fc .fc-daygrid-day {
    min-height: 44px !important;
    padding: 0 !important;
  }

  /* ── Day number — smaller and tighter ── */
  .fc .fc-daygrid-day-number {
    font-size: .7rem !important;
    padding: 3px 4px !important;
  }

  /* ── Today circle — smaller ── */
  .fc .fc-day-today .fc-daygrid-day-number {
    width: 22px !important;
    height: 22px !important;
    margin: 3px !important;
    font-size: .7rem !important;
  }

  /* ── Hide event title — too narrow to show ── */
  .fc .fc-daygrid-dot-event .fc-event-title,
  .fc .fc-event-time {
    display: none !important;
  }

  /* ── Make event dot still visible ── */
  .fc-daygrid-event-dot {
    border-width: 4px !important;
    margin-right: 0 !important;
  }

  /* ── Day header text ── */
  .fc .fc-col-header-cell-cushion {
    font-size: .65rem !important;
    padding: 6px 2px !important;
  }

  /* ── Controls bar ── */
  .piecal-controls {
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-bottom: 10px !important;
    padding: 0 !important;
  }

  .piecal-controls__view-title {
    font-size: 1.1rem !important;
  }

  /* ── Popover — centered popup, never full screen ── */
  .piecal-popover {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 300px !important;
    max-width: 90vw !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
    z-index: 9999 !important;
    border-radius: 14px !important;
    padding: 16px !important;
  }
}

/* ── Force hide "Choose View" label text ── */
.piecal-controls__view-chooser {
  font-size: 0 !important;
}
.piecal-controls__view-chooser select {
  font-size: .85rem !important;
}

