/* PAS Website — custom.css */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&display=swap');

:root{
  --c-text:#212529;
  --c-muted:#6c757d;
  --c-border:#e6e6e6;

  --footer-bg:#3f444f;
  --footer-text:#ffffff;
  --footer-link:rgba(255,255,255,0.90);
  --footer-muted:rgba(255,255,255,0.70);
  --footer-rule:rgba(255,255,255,0.15);

  --exhibitor-left-bg:#f1f1f1;
}

/* =========================================================
   Base typography
   ========================================================= */

body{
  font-family:'Montserrat','Helvetica Neue',Helvetica,Arial,sans-serif;
  font-size:18px;
  font-weight:400;
  line-height:1.7;
  color:var(--c-text);
}

h1{ font-size:24px; font-weight:500; line-height:1.25; }
h2{ font-size:22px; font-weight:500; line-height:1.25; }

/*
.entry-content p,
.fl-builder-content p{ max-width:70ch; }
*/

/* =========================================================
   Homepage + Video Hero
   ========================================================= */

/* Remove Astra top spacing on homepage */
.page-id-36 #primary{
  margin-top:0 !important;
  padding-top:0 !important;
}

/* Hero wrapper */
.pas-hero {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
}

.pas-hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

.pas-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 2;
}

.pas-hero-content {
  position: relative;
  z-index: 3;
}

/* =========================================================
   Header + nav
   ========================================================= */

.site-header{
/*  padding:18px 0;*/
  padding:0;	
  background:#fff;
  transition: box-shadow .25s ease, border-color .25s ease;
}

/* Sticky positioning */
.site-header.pas-sticky{
  position:fixed;
  top:0;
  left:0;
  right:0;
  width:100%;
  z-index:9999;
}

/* Sticky scrolled shadow (no bottom border line) */
.site-header.pas-scrolled{
  box-shadow:
    0 2px 6px rgba(0,0,0,0.08),
    0 8px 24px rgba(0,0,0,0.06);
}

/* Astra sometimes injects a 1px border on wrappers */
.ast-main-header-wrap.main-header-bar-wrap,
.ast-primary-header-bar.ast-primary-header.main-header-bar{
  border-bottom:0 !important;
}

/* Force solid white sticky background (prevents bleed-through) */
.site-header.pas-sticky,
.site-header.pas-sticky .ast-primary-header-bar,
.site-header.pas-sticky .ast-main-header-wrap,
.site-header.pas-sticky .site-header-inner-wrap,
.site-header.pas-sticky .main-header-bar,
.ast-header-sticky-active .ast-primary-header-bar,
.ast-header-sticky-active .main-header-bar,
.ast-header-sticky-active .site-header{
  background:#fff !important;
  background-color:#fff !important;
}

/* If any rule reintroduces the line on scroll, kill it */
.site-header.pas-sticky.pas-scrolled,
.site-header.pas-sticky.pas-scrolled .ast-primary-header-bar,
.site-header.pas-sticky.pas-scrolled .ast-main-header-wrap,
.site-header.pas-sticky.pas-scrolled .site-header-inner-wrap,
.site-header.pas-sticky.pas-scrolled .main-header-bar{
  border-bottom:0 !important;
}

/* Main nav links */
.main-header-menu > li > a{
  font-size:13px;
  font-weight:500;
  letter-spacing:0.12em;
  text-transform:uppercase;
  padding:0 18px;
  color:var(--c-text);
}

.main-header-menu > li > a:hover,
.main-header-menu > li.current-menu-item > a{
  background:none;
  text-decoration:underline;
  text-underline-offset:0.25em;
}

/* Header meta (dates / tagline / location) */
.pas-header-meta{
  text-align:right;
  line-height:1.4;
  margin-left:24px;
}
.pas-header-dates{
  font-size:13px;
  font-weight:500;
  letter-spacing:0.04em;
}
.pas-header-tagline,
.pas-header-location{
  font-size:12px;
  color:var(--c-muted);
}
@media (max-width:768px){
  .pas-header-meta{ display:none; }
}

/* =========================================================
   Scroll To Top Button
   ========================================================= */
#ast-scroll-top {
  background: #ffffff;
  border: 2px solid #212528;
  box-shadow: none;
}

#ast-scroll-top .ast-arrow-svg path {
  fill: #212528;
}

#ast-scroll-top:hover,
#ast-scroll-top:focus {
  background: #212528;
}

#ast-scroll-top:hover .ast-arrow-svg path,
#ast-scroll-top:focus .ast-arrow-svg path {
  fill: #ffffff;
}

/* =========================================================
   Section helpers + tiles
   ========================================================= */

.pas-section{ padding:30px 0; }
.pas-section--sm{ padding:48px 0; }
.pas-divider-top{ border-top:1px solid var(--c-border); }

.pas-tile{
  border:1px solid var(--c-border);
  padding:48px;
  background:#fff;
}

.pas-eyebrow{
  text-transform:uppercase;
  letter-spacing:0.12em;
  font-size:22px;
  font-weight:500;
  color:var(--c-muted);
  margin-bottom:12px;
}

.pas-tile-desc{
  color:var(--c-muted);
  max-width:60ch;
  margin-top:8px;
}

.pas-tile a,
.pas-tile .button{
  margin-top:12px;
  display:inline-block;
}

.pas-tile-image{ margin-bottom:16px; }
.pas-tile-image img{
  width:100%;
  display:block;
  border-radius:1px;
  border:1px solid #e1e1e1;
  background:#fff;
}

/* Standard text-link style (use .pas-link on content links) */
.pas-link{
  color:var(--c-text);
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:2px;
  transition:color .2s ease, text-decoration-thickness .2s ease;
}
.pas-link:hover,
.pas-link:focus{
  color:#000;
  text-decoration-thickness:2px !important;
}

/* =========================================================
   Buttons (global + PAS outline style)
   ========================================================= */

/* Baseline button styling (keeps theme consistent) */
.button,
button,
input[type="submit"],
.fl-button a,
a.ast-button,
a.button{
  font-size:18px;
  border-radius:1px;
  border:1px solid var(--c-text);
  padding:5px;
  background:transparent;
  color:var(--c-text);
  text-decoration:none;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
.fl-button a:hover{
  background:var(--c-text);
  color:#fff;
}

/* PAS outline button (Beaver Builder + custom buttons) */
.pas-button a.fl-button,
.pas-button a.fl-button:visited,
.pas-tile-desc + .fl-module-button a.fl-button,
.pas-tile-desc + .fl-module-button a.fl-button:visited{
  border:2px solid #212528;
  background:transparent;
  color:#212528;
  text-decoration:none;
  padding:14px 34px;
  border-radius:0;
  box-shadow:none;
  text-transform:uppercase;
  letter-spacing:0.08em;
  font-size:14px;
}
.pas-button a.fl-button .fl-button-text,
.pas-tile-desc + .fl-module-button a.fl-button .fl-button-text{
  color:inherit;
}
.pas-button a.fl-button:hover,
.pas-button a.fl-button:focus,
.pas-tile-desc + .fl-module-button a.fl-button:hover,
.pas-tile-desc + .fl-module-button a.fl-button:focus{
  background:#212528;
  color:#ffffff;
  text-decoration:none;
}


/* =========================================================
   Top Nav Button styling -- for Tix
   ========================================================= */

/* PAS Header Tickets Button */
.main-header-menu .pas-nav-button > a.menu-link{
  border:2px solid #212528;
  background:transparent;
  color:#212528 !important;
  padding:6px 16px;
/*   padding:10px 22px; */	
  text-transform:uppercase;
  letter-spacing:0.08em;
  font-size:14px;
  text-decoration:none;
  display:inline-block;
  line-height:1;
}

/* Hover */
.main-header-menu .pas-nav-button > a.menu-link:hover,
.main-header-menu .pas-nav-button > a.menu-link:focus{
  background:#212528;
  color:#ffffff !important;
}

/* =========================================================
   Footer (Astra + HTML blocks)
   ========================================================= */

#colophon.site-footer{
  background:var(--footer-bg) !important;
  color:var(--footer-text) !important;
  padding:0 !important;
}

/* Unify wrapper backgrounds + remove default bands/lines */
#colophon .site-primary-footer-wrap,
#colophon .site-below-footer-wrap,
#colophon .ast-builder-grid-row-container,
#colophon .ast-builder-grid-row-container-inner,
#colophon .ast-builder-footer-grid-columns,
#colophon .site-primary-footer-inner-wrap,
#colophon .site-below-footer-inner-wrap,
#colophon .site-footer-section,
#colophon .footer-widget-area,
#colophon .ast-header-html,
#colophon .ast-builder-html-element{
  background:var(--footer-bg) !important;
  margin:0 !important;
  border-top:0 !important;
  border-bottom:0 !important;
}

/* We control spacing ourselves */
#colophon .site-primary-footer-wrap .ast-builder-grid-row-container-inner,
#colophon .site-below-footer-wrap .ast-builder-grid-row-container-inner{
  padding:0 !important;
}

/* Footer gutters */
#colophon .site-primary-footer-wrap,
#colophon .site-below-footer-wrap{
  padding-left:clamp(24px, 4vw, 70px) !important;
  padding-right:clamp(24px, 4vw, 70px) !important;
}

/* Remove any injected separators */
#colophon hr,
#colophon .ast-divider,
#colophon .wp-block-separator{
  display:none !important;
}

/* Shared footer links */
#colophon a{
  color:var(--footer-link) !important;
  text-decoration:none;
}
#colophon a:hover{
  color:var(--footer-text) !important;
  text-decoration:underline;
  text-underline-offset:0.25em;
}

/* Constrain content width */
#colophon .pas-footer,
#colophon .pas-footer-legal{
  max-width:1320px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  line-height:1.35 !important;
  box-sizing:border-box;
}

/* Footer top area */
#colophon .pas-footer{ padding:25px 0 0 !important; }
#colophon .pas-footer,
#colophon .pas-footer *{ text-align:left !important; }

/* Grid: auto-fit handles 5 columns gracefully */
#colophon .pas-footer-grid{
  display:grid !important;
  grid-template-columns:repeat(auto-fit, minmax(160px, 1fr)) !important;
  gap:clamp(18px, 3vw, 60px) !important;
  align-items:start !important;
}

#colophon .pas-footer h4{
  margin:0 0 10px;
  font-size:14px;
  font-weight:600;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--footer-text) !important;
}
#colophon .pas-footer ul{
  list-style:none;
  margin:0 !important;
  padding:0 !important;
}
#colophon .pas-footer li{
  margin:0 0 5px !important;
  padding:0 !important;
}
#colophon .pas-footer a{
  font-size:14px;
  letter-spacing:0.02em;
  display:inline-block;
  line-height:1.3 !important;
}

/* Footer "Newsletter" button */
#colophon .pas-footer a.pas-footer-btn{
  display:inline-block;
  margin-top:8px;
  padding:9px 12px;
  border:1px solid rgba(255,255,255,0.75);
  color:var(--footer-text) !important;
  text-decoration:none !important;
}
#colophon .pas-footer a.pas-footer-btn:hover{
  background:var(--footer-text) !important;
  color:var(--footer-bg) !important;
  text-decoration:none !important;
}

/* Social icons: WYSIWYG can inject <p> and <br> */
#colophon .pas-footer-social-icons p{ margin:0 !important; padding:0 !important; }
#colophon .pas-footer-social-icons br{ display:none !important; }

#colophon .pas-footer-social-icons{
  display:flex !important;
  gap:14px !important;
  margin-top:10px !important;
  align-items:center !important;
}

#colophon .pas-footer-social-icons a.pas-social-link{
  display:inline-flex !important;
  width:38px !important;
  height:38px !important;
  align-items:center !important;
  justify-content:center !important;
  border:1px solid rgba(255,255,255,.35) !important;
  border-radius:999px !important;
  color:#fff !important;
  opacity:.9 !important;
  text-decoration:none !important;
  line-height:1 !important;
  transition: opacity .2s ease, transform .2s ease, background-color .2s ease;
}
#colophon .pas-footer-social-icons a.pas-social-link:hover{
  opacity:1 !important;
  transform:translateY(-1px) !important;
  background:rgba(255,255,255,.08) !important;
}
#colophon .pas-footer-social-icons a.pas-social-link i{
  font-size:16px !important;
  line-height:1 !important;
  display:block !important;
}

/* Legal row */
#colophon .pas-footer-legal{
  border-top:1px solid var(--footer-rule) !important;
  padding:18px 0 24px !important;
  margin:0 !important;
  text-align:left !important;
  font-size:13px;
  color:var(--footer-muted) !important;
}
#colophon .pas-footer-legal a{ color:var(--footer-muted) !important; }
#colophon .pas-footer-legal a:hover{ color:var(--footer-text) !important; }

/* Footer responsive tweaks */
@media (max-width:992px){
  #colophon .pas-footer{ padding:22px 0 0 !important; }
}
@media (max-width:600px){
  #colophon .pas-footer{ padding:18px 0 0 !important; }
}

/* =========================================================
   Single Exhibitor layout
   ========================================================= */

main.pas-exhibitor,
main.pas-exhibitor-single{ background:#ffffff !important; }

/* Force the page background to white for this template only */
main.pas-exhibitor::before,
main.pas-exhibitor-single::before{
  content:"";
  position:fixed;
  inset:0;
  background:#ffffff;
  z-index:-1;
}

/* Break the MAIN wrapper out of narrow theme containers */
main.pas-exhibitor,
main.pas-exhibitor-single{
  position:relative;
  left:50%;
  right:50%;
  width:100vw;
  max-width:none !important;
  margin-left:-50vw;
  margin-right:-50vw;
  box-sizing:border-box;
  padding-left:clamp(24px, 4vw, 80px);
  padding-right:clamp(24px, 4vw, 80px);
}

/* Keep inner blocks from inheriting theme background colors */
main.pas-exhibitor .pas-exhibitor__wrap,
main.pas-exhibitor-single .pas-exhibitor__wrap{ background:transparent !important; }

/* Back to Exhibitors */
.pas-exhibitor .pas-exhibitor__back,
.pas-exhibitor-single .pas-exhibitor__back{
  display:inline-block;
  margin-top:24px;
  margin-bottom:18px;
  font-size:13px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--c-muted);
  text-decoration:none;
}
.pas-exhibitor .pas-exhibitor__back:hover,
.pas-exhibitor-single .pas-exhibitor__back:hover{
  color:var(--c-text);
  text-decoration:underline;
  text-underline-offset:0.25em;
}

/* 2-column wrapper: true 50/50 */
.pas-exhibitor .pas-exhibitor__wrap,
.pas-exhibitor-single .pas-exhibitor__wrap{
  width:100%;
  display:flex;
  align-items:stretch;
  gap:80px;
  padding:40px 0;
  box-sizing:border-box;
}

.pas-exhibitor .pas-exhibitor__left,
.pas-exhibitor .pas-exhibitor__right,
.pas-exhibitor-single .pas-exhibitor__left,
.pas-exhibitor-single .pas-exhibitor__right{
  flex:0 0 calc(50% - 40px);
  min-width:0;
  box-sizing:border-box;
}

/* LEFT panel */
.pas-exhibitor .pas-exhibitor__left,
.pas-exhibitor-single .pas-exhibitor__left{
  background:var(--exhibitor-left-bg);
  padding:0 65px 65px;
  display:flex;
}
.pas-exhibitor .pas-exhibitor__card,
.pas-exhibitor-single .pas-exhibitor__card{
  background:transparent !important;
  padding:70px 0 0 !important;
  margin:0 !important;
  width:100%;
}
.pas-exhibitor .pas-exhibitor__card p,
.pas-exhibitor-single .pas-exhibitor__card p{ max-width:none !important; }

/* RIGHT panel */
.pas-exhibitor .pas-exhibitor__right,
.pas-exhibitor-single .pas-exhibitor__right{
  border:1px solid #d9d9d9;
  background:#fff;
  padding:70px 65px;
  display:flex;
  overflow:visible;
  flex-direction:column;
  align-items:stretch;
  justify-content:flex-start;
}

/* Image: contain */
.pas-exhibitor img.pas-exhibitor__image,
.pas-exhibitor-single img.pas-exhibitor__image{
  width:100%;
  height:auto;
  max-height:430px;
  object-fit:contain;
  display:block;
}

.pas-exhibitor-gallery{ width:100%; }
.pas-exhibitor-gallery__main{ height:auto; }

/* Ensure gallery main image never stretches */
.pas-exhibitor-single img.pas-exhibitor-gallery__main{ height:auto !important; }

.pas-exhibitor-gallery__caption{
  margin-top:14px;
  font-size:14px;
  line-height:1.4;
  color:var(--c-text);
}

.pas-exhibitor-gallery__thumbs{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}

.pas-exhibitor-gallery__thumb{
  width:72px;
  height:72px;
  padding:0;
  border:1px solid var(--c-border);
  background:#fff;
  cursor:pointer;
  border-radius:2px;
  overflow:hidden;
}

.pas-exhibitor-gallery__thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.pas-exhibitor-gallery__thumb.is-active{ border-color:var(--c-text); }
.pas-exhibitor-gallery__thumb:focus-visible{
  outline:2px solid var(--c-text);
  outline-offset:2px;
}

/* Description below */
.pas-exhibitor .pas-exhibitor__description,
.pas-exhibitor-single .pas-exhibitor__description{
  margin-top:20px;
  padding-bottom:40px;
}
.pas-exhibitor .pas-exhibitor__description-title,
.pas-exhibitor-single .pas-exhibitor__description-title{
  margin:0 0 18px;
  font-size:18px;
  font-weight:500;
  letter-spacing:0.08em;
  text-transform:uppercase;
}

/* Mobile: stack */
@media (max-width:900px){
  .pas-exhibitor .pas-exhibitor__wrap,
  .pas-exhibitor-single .pas-exhibitor__wrap{
    flex-direction:column;
    gap:24px;
    padding:40px 0;
  }
  .pas-exhibitor .pas-exhibitor__left,
  .pas-exhibitor .pas-exhibitor__right,
  .pas-exhibitor-single .pas-exhibitor__left,
  .pas-exhibitor-single .pas-exhibitor__right{
    flex:0 0 auto;
    width:100%;
  }
  .pas-exhibitor .pas-exhibitor__left,
  .pas-exhibitor-single .pas-exhibitor__left{ padding:0 28px 28px; }

  .pas-exhibitor .pas-exhibitor__card,
  .pas-exhibitor-single .pas-exhibitor__card{ padding:40px 0 0 !important; }

  .pas-exhibitor .pas-exhibitor__right,
  .pas-exhibitor-single .pas-exhibitor__right{ padding:28px; }

  .pas-exhibitor img.pas-exhibitor__image,
  .pas-exhibitor-single img.pas-exhibitor__image{ max-height:none; }
}

/* Force correct text color + link styling in left panel */
.pas-exhibitor__left,
.pas-exhibitor__left *{ color:#212528 !important; }

.pas-exhibitor__left a:not(.pas-exhibitor__btn){
  color:#212528 !important;
  text-decoration:none !important;
}
.pas-exhibitor__left a:not(.pas-exhibitor__btn):hover{
  text-decoration:underline !important;
  text-underline-offset:0.25em;
}

/* Spacing */
.pas-exhibitor__title{ margin:0 0 22px !important; }
.pas-exhibitor__speciality{ margin:0 0 26px !important; }
.pas-exhibitor__meta{ margin:0 !important; }
.pas-exhibitor__meta-row{ margin:0 0 12px !important; line-height:1.8; }
.pas-exhibitor__meta-row:last-child{ margin-bottom:0 !important; }

/* Website button */
.pas-exhibitor__btn{
  display:inline-block;
  margin-top:34px;
  padding:14px 34px;
  border:2px solid #212528;
  background:transparent;
  color:#212528 !important;
  text-decoration:none !important;
  font-size:14px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  transition:background .2s ease, color .2s ease;
}
.pas-exhibitor__btn:hover{
  background:#212528;
  color:#ffffff !important;
  text-decoration:none !important;
}

/* =========================================================
   Exhibitor listing (Display Post Types) + masonry stabilization
   ========================================================= */

/* Title links (underline always) */
.dpt-entry-wrapper h3.dpt-title a.dpt-title-link,
.dpt-entry-wrapper h3.dpt-title a.dpt-title-link:visited{
  color:#212528 !important;
  text-decoration:underline !important;
  text-decoration-color:currentColor !important;
  text-underline-offset:0.2em !important;
  text-decoration-thickness:1px !important;
}

/* Clamp on the HEADING (not the link) so multi-line titles still get hover underline */
.dpt-entry-wrapper h3.dpt-title{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  line-height:1.3;
  margin:0 0 10px !important;
  min-height:2.6em; /* keeps card heights consistent while avoiding 2nd-line cut-off */
  cursor:pointer;
}

/* Hover underline thickness applies across both lines */
.dpt-entry-wrapper h3.dpt-title:hover a.dpt-title-link,
.dpt-entry-wrapper h3.dpt-title a.dpt-title-link:hover{
  text-decoration-thickness:2px !important;
}

/* Card spacing + divider */
.dpt-entry-wrapper{
  padding-bottom:26px;
  margin-bottom:26px;
  border-bottom:1px solid #e6e6e6;
}
.dpt-entry:last-child .dpt-entry-wrapper{
  border-bottom:none;
  margin-bottom:0;
  padding-bottom:0;
}
.dpt-entry-wrapper .sub-entry{ margin-top:16px; }
.dpt-entry-wrapper .dpt-excerpt{ margin:0; line-height:1.5; }

/* Thumbnail: persistent border overlay (doesn't affect sizing) */
.dpt-entry.has-thumbnail .dpt-thumbnail{
  position:relative !important;
  background:#fff !important;
}
.dpt-entry.has-thumbnail .dpt-thumbnail::after{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  border:1px solid #e6e6e6 !important;
  box-sizing:border-box !important;
  pointer-events:none !important;
  z-index:5 !important;
}
.dpt-entry.has-thumbnail .dpt-thumbnail-inner{
  position:absolute !important;
  inset:0 !important;
  overflow:hidden !important;
  z-index:1 !important;
}
.dpt-entry.has-thumbnail .dpt-thumbnail-inner img{
  display:block !important;
  width:100% !important;
  height:auto !important;
  transition:transform 0.35s ease;
  transform:scale(1);
}
.dpt-entry.has-thumbnail:hover .dpt-thumbnail-inner img{ transform:scale(1.04); }

/* Make image clickable: overlay permalink over thumbnail only */
.dpt-entry.has-thumbnail .dpt-featured-content.dpt-tile{ position:relative; }
.dpt-entry.has-thumbnail .dpt-permalink{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  aspect-ratio:1 / 1;
  z-index:20;
}
.dpt-entry.has-thumbnail .dpt-permalink > a.dpt-permalink{
  position:absolute;
  inset:0;
  display:block;
}
.dpt-entry.has-thumbnail .sub-entry{
  position:relative;
  z-index:30;
}
.dpt-entry.has-thumbnail .dpt-thumbnail{ cursor:pointer; }

/* DPT placeholder when there is no thumbnail */
.dpt-entry.no-thumbnail .dpt-thumbnail{ position:relative; }
.dpt-entry.no-thumbnail .dpt-thumbnail-inner{
  position:absolute;
  inset:0;
  background-image:url('/wp-content/themes/pas/assets/images/PAS-logo-star.png');
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;

  overflow:hidden !important;
  transition:transform 0.35s ease;
  transform:scale(1);
  transform-origin:center;
}
.dpt-entry.no-thumbnail:hover .dpt-thumbnail-inner{ transform:scale(1.04); }

/* Border overlay for placeholder thumbnails */
.dpt-entry.no-thumbnail .dpt-thumbnail{
  position:relative !important;
  background:#fff !important;
}
.dpt-entry.no-thumbnail .dpt-thumbnail::after{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  border:1px solid #e6e6e6 !important;
  box-sizing:border-box !important;
  pointer-events:none !important;
  z-index:5 !important;
}

/* Masonry stabilization (prevents "last item" appearing centered) */
.dpt-entry .dpt-entry-wrapper,
.dpt-entry .dpt-featured-content.dpt-tile{
  display:flex;
  flex-direction:column;
  height:100%;
}

/* Desktop: keep tiles a consistent minimum height */
.dpt-entry .dpt-entry-wrapper{ min-height:430px; }

/* Keep the title block anchored to the bottom */
.dpt-entry .sub-entry{
  margin-top:auto;
  min-height:72px; /* approx 2 lines */
}

/* Mobile/tablet: relax forced heights to avoid large gaps */
@media (max-width:768px){
  .dpt-entry .dpt-entry-wrapper{ min-height:0; }
  .dpt-entry .sub-entry{ margin-top:16px; min-height:0; }
  .dpt-entry-wrapper h3.dpt-title{ min-height:0; }
}

/* Mobile landscape often exceeds 768px wide; catch that case too */
@media (max-height:500px) and (max-width:1024px){
  .dpt-entry .dpt-entry-wrapper{ min-height:0; }
  .dpt-entry .sub-entry{ margin-top:12px; min-height:0; }
  .dpt-entry-wrapper h3.dpt-title{ min-height:0; }
}

/* =========================================================
   Exhibitor Lightbox + gallery click cue
   ========================================================= */

/* Make the large selected image feel clickable */
.pas-exhibitor-single .pas-exhibitor-gallery__main{ cursor:zoom-in; }

/* Lightbox overlay */
.pas-exhibitor-lightbox{
  position:fixed;
  inset:0;
  display:none;
  z-index:99999;
}
.pas-exhibitor-lightbox.is-open{ display:block; }

.pas-exhibitor-lightbox__backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.75);
}

.pas-exhibitor-lightbox__dialog{
  position:absolute;
  inset:24px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.pas-exhibitor-lightbox__img{
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  display:block;
}

/* Close button pinned to viewport so theme styles can't push it around */
.pas-exhibitor-lightbox__close{
  position:fixed;
  top:16px;
  right:16px;
  width:56px;
  height:56px;
  border:0;
  border-radius:999px;
  background:rgba(255,255,255,.95);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:32px;
  line-height:1;
  padding:0 !important;
  margin:0 !important;
  transform:none !important;
  box-shadow:none;
  z-index:100000;
}

/* =========================================================
   Exhibitor A–Z quick links + anchored dividers
   ========================================================= */

.pas-exhibitor-az{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:18px 0 36px;
}

.pas-exhibitor-az a,
.pas-exhibitor-az span{
  font-size:13px;
  font-weight:500;
  letter-spacing:0.06em;
  text-transform:uppercase;
  text-decoration:none;
}

.pas-exhibitor-az a{ color:var(--c-muted); }
.pas-exhibitor-az a:hover{
  color:var(--c-text);
  text-decoration:underline;
  text-underline-offset:0.25em;
}

.pas-exhibitor-az span.is-disabled{
  color:#c5c5c5;
  cursor:default;
}

/* Letter headings inside the list */
.pas-exhibitor-letter{
  margin:40px 0 18px;
  font-size:22px;
  font-weight:500;
}

/* Offset scroll position for sticky header */
.pas-exhibitor-letter-anchor{
  scroll-margin-top:120px;
  display:block;
  height:1px;
}

/* DPT A–Z: letter dividers that anchor correctly */
.pas-exhibitor-letter-divider{
  scroll-margin-top:160px;
  width:100%;
  display:block;
  grid-column:1 / -1;
  break-inside:avoid;
  break-before:column;
  margin:26px 0 14px;
  padding:10px 0;
  border-top:1px solid #e6e6e6;
}

.pas-exhibitor-letter-divider__text{
  font-size:18px;
  font-weight:500;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--c-text);
}

/* =========================================================
   WPForms — minimal site-wide styling (no layout changes)
   ========================================================= */

.wpforms-container,
.wpforms-container .wpforms-form,
.wpforms-container .wpforms-field-label,
.wpforms-container input,
.wpforms-container select,
.wpforms-container textarea{
  font-family:'Montserrat','Helvetica Neue',Helvetica,Arial,sans-serif;
  font-size:18px;
  color:var(--c-text);
}

.wpforms-container .wpforms-field-sublabel,
.wpforms-container .wpforms-field-description{ color:var(--c-muted); }

/* Submit button — match PAS outline button */
.wpforms-container .wpforms-form button.wpforms-submit,
.wpforms-container .wpforms-form input[type="submit"],
.wpforms-container .wpforms-form button[type="submit"]{
  display:inline-block !important;
  padding:14px 34px !important;
  border:2px solid #212528 !important;
  background:transparent !important;
  color:#212528 !important;

  font-family:'Montserrat','Helvetica Neue',Helvetica,Arial,sans-serif !important;
  font-size:14px !important;
  font-weight:500 !important;
  letter-spacing:0.08em !important;
  text-transform:uppercase !important;

  border-radius:0 !important;
  box-shadow:none !important;
  line-height:1 !important;
  height:auto !important;

  cursor:pointer !important;
  -webkit-appearance:none;
  appearance:none;

  transition:background .2s ease, color .2s ease, border-color .2s ease;
}

.wpforms-container .wpforms-form button.wpforms-submit:hover,
.wpforms-container .wpforms-form input[type="submit"]:hover,
.wpforms-container .wpforms-form button[type="submit"]:hover{
  background:#212528 !important;
  color:#ffffff !important;
}

/* =========================================================
   Events formatting
   ========================================================= */

.pas-event-frame .fl-photo-content{
  width:490px;
  height:370px;
  border:1px solid #e1e1e1;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
}

.pas-event-frame img.fl-photo-img{
  width:auto !important;
  height:auto !important;
  max-width:100%;
  max-height:100%;
  display:block;
}

/* =========================================================
   Sponsor page + embeded forms formatting
   ========================================================= */

p.sponsor-level-label {
  margin-bottom: 0.1em;
}

p.sponsor-level-label + ul {
  margin-left: 10px;
  margin-top: 0px;
}