/* from inc/content-pipeline.php */
.notice {
  margin:10px 0;
  padding:10px 14px;
  background:#fff3cd;
  border:1px solid #ffeeba;
  color:#856404;
}

/* from inc/gf-form-4-context.php:107 */
.ec-form--home .gform_wrapper {
  max-width:760px;
  margin:0 auto 24px;
}

/* from inc/pf-shortcodes.php */
.pf-overrides-p { opacity:.6; }

/* from inc/reverse-contact-form-cta.php:148 */
/* Warning box */
.ec-contact-cta .ec-warning {
  margin:0 0 12px;
  padding:10px 12px;
  border:2px dashed #e03131;
  background:#fff5f5;
  border-radius:10px;
}
/* CTA container — full width of the left-half column */
.ec-contact-cta {
  box-sizing:border-box;
  width:100%;
  margin:0 0 16px 0;
  padding:14px 16px;
  border:1px solid rgba(0,0,0,.08);
  border-radius:12px;
  background:#fff;
  box-shadow:0 8px 24px rgba(0,0,0,.06);
  float:none; /* stack */
  clear:both;
}

/* Secondary CTA button near phone */
.ec-btn-contact-owner {
  display:inline-block;
  margin-left:10px;
  padding:8px 12px;
  border-radius:8px;
  border:1px solid #0f9d58;
  background:#e6f4ea;
  color:#137333 !important;
  text-decoration:none;
  font-weight:600;
  white-space:nowrap;
}
.ec-btn-contact-owner:hover { background:#d9f2e1; }

.ec-link-claim-owner {
  display:inline-block;
  font-size:13px;
  padding:6px 10px;
  border-radius:6px;
  border:1px solid rgba(0,0,0,.2);
  background:transparent;
  color:#333 !important;
  text-decoration:none;
}
.ec-link-claim-owner:hover { background:rgba(0,0,0,.04); }

@media (max-width:1024px) {
  .ec-btn-contact-owner {
    display:block;
    margin:8px 0 0 0;
  }
}

/* from inc/sticky-cpt.php */
#sticky-span { margin-left:0; }


/* PF mini modal (niceConfirm) */
.pfm-overlay {
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.45);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:99999;
  animation:pfm-fade .12s ease-out;
}

.pfm-modal {
  background:#fff;
  border-radius:12px;
  max-width:520px;
  width:92%;
  box-shadow:0 20px 60px rgba(0,0,0,.25);
  padding:22px 22px 16px;
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  animation:pfm-pop .12s ease-out;
}

.pfm-title {
  font-size:20px;
  font-weight:700;
  margin:0 0 8px;
  color:#111;
}

.pfm-text {
  font-size:15px;
  line-height:1.5;
  color:#333;
  margin:0 0 18px;
}

.pfm-actions {
  display:flex;
  gap:10px;
  justify-content:flex-end;
}

.pfm-btn {
  appearance:none;
  border:0;
  border-radius:8px;
  padding:10px 14px;
  cursor:pointer;
  font-weight:600;
  font-size:14px;
}

.pfm-btn-ok {
  background:#111;
  color:#fff;
}

.pfm-btn-cancel {
  background:#eef0f3;
  color:#111;
}

.pfm-btn:focus {
  outline:2px solid #7aa7ff;
  outline-offset:2px;
}

@keyframes pfm-pop {
  from { transform:translateY(8px); opacity:0; }
  to   { transform:none;           opacity:1; }
}
@keyframes pfm-fade {
  from { opacity:0; }
  to   { opacity:1; }
}
.select2-container--open .select2-dropdown .select2-results,
.select2-container--open .select2-dropdown .select2-results__options {
  max-height: 320px;
  overflow-y: auto;
}
/* ======================================================================
 * PF Home News (first screen above main filter)
 * Marker: <!--pf_main_filter-->
 * Anchor: #pf_profile_search
 * ====================================================================== */

.pf-home-news {
  /* layout vars */
  --pfhn-border: rgba(0,0,0,.10);
  --pfhn-shadow: 0 12px 30px rgba(0,0,0,.08);
  --pfhn-shadow-soft: 0 6px 18px rgba(0,0,0,.06);

  /* Fill the remaining viewport under any existing top content */
  min-height: calc(100vh - var(--pf-home-top-offset, 0px));
  padding: 12px 0 18px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
}

.pf-home-news__bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.pf-home-news__bar-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pf-home-news__title {
  font-weight: 800;
  font-size: 16px;
  line-height: 1.15;
  letter-spacing: .2px;
}

.pf-home-news__subtitle {
  font-size: 13px;
  line-height: 1.35;
  opacity: .72;
}

.pf-home-news__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--pfhn-border);
  background: #fff;
  box-shadow: var(--pfhn-shadow-soft);

  text-decoration: none !important;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

.pf-home-news__cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--pfhn-shadow);
}

/* Attention hint: CTA looks clickable (without relying on hover) */
.pf-home-news__cta{
  animation: pfhn-attn 1.7s ease-in-out infinite;
}
.pf-home-news__cta:hover{
  animation: none;
}
@keyframes pfhn-attn{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce){
  .pf-home-news__cta{ animation: none !important; }
}

.pf-home-news__feed {
  display: grid;
  grid-auto-rows: min-content;
  gap: 12px;
  align-content: start;
}

.pf-home-news__item {
  border: 1px solid var(--pfhn-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--pfhn-shadow-soft);
  padding: 12px 14px;
}

.pf-home-news__item--lead {
  border-width: 2px;
  padding: 16px 16px;
}

.pf-home-news__item--pinned {
  border-color: rgba(0,0,0,.20);
}

.pf-home-news__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 1.2;
  opacity: .66;
  margin: 0 0 6px;
}

.pf-home-news__pin {
  opacity: 1;
  font-size: 13px;
  line-height: 1;
}

.pf-home-news__item-title {
  font-weight: 800;
  font-size: 15px;
  line-height: 1.25;
}

.pf-home-news__item--lead .pf-home-news__item-title {
  font-size: 18px;
}

.pf-home-news__item-excerpt {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.4;
  opacity: .78;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* Ensure language links (WPML) and any inline links are clearly clickable */
.pf-home-news__item-excerpt a{
  text-decoration: underline;
}
.pf-home-news__item-excerpt a:hover{
  text-decoration: underline;
}
.pf-home-news__empty {
  border: 1px dashed var(--pfhn-border);
  border-radius: 16px;
  padding: 16px;
  opacity: .78;
}

/* Anchor: keep spacing when focused after smooth scroll */
#pf_profile_search:focus {
  outline: 2px solid rgba(122, 167, 255, .75);
  outline-offset: 4px;
  border-radius: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .pf-home-news {
    padding-top: 10px;
    gap: 12px;
  }
  .pf-home-news__cta {
    width: 100%;
  }
}


/* ======================================================================
 * PF Happy Hour badge (Homepage)
 * Mounted by assets/js/pf-hh-badge.js when /portfolio/v1/happy-hour is enabled
 * ====================================================================== */

.pf-hh-badge {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 14px;
  margin: 10px 0 12px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.pf-hh-badge__label {
  font-weight: 800;
  font-size: 14px;
  line-height: 1.25;
  letter-spacing: .2px;
}

.pf-hh-badge__help-toggle {
  margin-left: auto;
  border: 0;
  background: transparent;
  font-weight: 800;
  font-size: 12px;
  line-height: 1;
  padding: 6px 8px;
  cursor: pointer;
  opacity: .85;
}

.pf-hh-badge__help-toggle:hover {
  opacity: 1;
  text-decoration: underline;
}

.pf-hh-help {
  margin: 0 0 12px;
  padding: 10px 14px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.pf-hh-help__title {
  font-weight: 800;
  font-size: 14px;
  line-height: 1.25;
  margin: 0 0 6px;
}

.pf-hh-help__body p {
  margin: 0 0 8px;
}

.pf-hh-help__body ul {
  margin: 0 0 8px;
  padding-left: 18px;
}

.pf-hh-help__body li {
  margin: 0 0 4px;
}

@media (max-width: 768px) {
  .pf-hh-badge {
    margin: 8px 0 10px;
    padding: 10px 12px;
  }
}

