/*
 * EnFavori Profil V10 — TEK KART MODELI
 * Profil listeleri VE profil icerikleri ayni efph-content-card DOM ve CSS'ini
 * kullanir. Yatay ve Dikey yalnizca yerlesimi degistirir.
 * Bu dosyada eski ef-list-directory-card / profile-list-showcase yamalari YOK.
 * Global /listeler sayfasi ve ortak liste karti degistirilmez.
 */
.efph-page--v7{
  --pf-card-line:#cadde7;
  --pf-card-paper:#fff;
  --pf-card-ink:#122c44;
  --pf-card-muted:#506a7c;
  --pf-card-teal:#0d9488;
  --pf-card-title-size:16px;
  --pf-card-radius:16px;
  --pf-card-gap:13px;
}
.efph-page--v7 .efph-section--profile-lists{
  margin-top:16px;
  padding:18px;
  border:1px solid var(--pf-card-line);
  border-radius:17px;
  background:var(--pf-card-paper);
  box-shadow:0 10px 24px -24px rgba(13,45,63,.24);
}
/* Shared heading anatomy for ALL public profile content sections. */
.efph-page--v7 :is(.efph-section--content-view,.efph-section--profile-extras) > .efph-section__head{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;
  gap:12px;min-width:0;margin:0 0 15px;
}
.efph-page--v7 :is(.efph-section--content-view,.efph-section--profile-extras) .efph-section__identity{
  display:flex;flex:1 1 250px;flex-wrap:wrap;align-items:center;gap:10px;min-width:0;
}
.efph-page--v7 .efph-section__head h2{
  flex:0 1 auto;min-width:0;margin:0;font-size:clamp(18px,2.2vw,23px);
  line-height:1.25;text-align:left;overflow-wrap:anywhere;
}
.efph-page--v7 .efph-section__identity .efph-section-count{
  flex:0 0 auto;white-space:nowrap;
}
.efph-page--v7 :is(.efph-section--content-view,.efph-section--profile-extras) > .efph-section__head > .efph-section__controls{
  display:flex;flex:0 1 auto;flex-wrap:wrap;align-items:center;justify-content:flex-end;
  gap:9px;min-width:0;
}
.efph-page--v7 :is(.efph-card-grid,.list-directory__grid,.efph-video-grid,.efph-services,.efph-social-feed){
  gap:var(--pf-card-gap);
}
.efph-page--v7 :is(.efph-content-card,.efph-video-card,.efph-service,.efph-social-post){
  min-width:0;
  max-width:100%;
  border:1px solid var(--pf-card-line);
  border-radius:var(--pf-card-radius);
  background:var(--pf-card-paper);
  box-shadow:0 10px 23px -23px rgba(13,45,63,.34);
  overflow:hidden;
}
.efph-page--v7 .efph-section--content-view .efph-content-card{
  display:flex;
  flex-direction:column;
  height:100%;
  min-width:0;
  padding:0;
}
.efph-page--v7 .efph-section--content-view .efph-content-card__body{
  display:flex;
  flex:1;
  flex-direction:column;
  min-width:0;
  gap:7px;
  padding:14px 15px;
}
.efph-page--v7 .efph-content-card__kickers{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  align-items:center;
}
/* ONE TITLE SIZE for list, item, article, video, service and social cards.
   Old V2/V7 rules use different sizes for horizontal/mobile; this is final. */
.efph-page--v7 :is(
  .efph-section--content-view .efph-content-card h3,
  .efph-section--profile-extras .efph-video-card__heading,
  .efph-section--profile-extras .efph-service h3,
  .efph-section--profile-extras .efph-social-post__head strong
){
  color:var(--pf-card-ink);
  font-size:var(--pf-card-title-size) !important;
  font-weight:850;
  line-height:1.3;
  letter-spacing:-.012em;
  overflow-wrap:anywhere;
}
.efph-page--v7 .efph-section--content-view .efph-content-card h3{
  margin:0;
  min-height:0;
}
.efph-page--v7 .efph-section--content-view .efph-content-card p,
.efph-page--v7 .efph-section--profile-extras :is(.efph-video-card p,.efph-service p,.efph-social-post__hint){
  margin:0;
  color:var(--pf-card-muted);
  font-size:12.5px;
  line-height:1.5;
  font-weight:500;
  overflow-wrap:anywhere;
}
.efph-page--v7 .efph-section--content-view .efph-kicker{
  font-size:10px;
  font-weight:850;
  line-height:1.3;
}
/* Shared card layout, content-specific COVER ratios:
   Published catalog items 1:1; published LIST covers 16:9 as in /listeler.
   Catalog-item photos must be fully visible within their 1:1 frame; list covers may crop.
   Only the media ratio differs. Card body, title and actions stay identical. */
.efph-page--v7 .efph-section--content-view .efph-content-card--item .efph-content-card__media{
  display:block;
  position:relative;
  width:100%;
  height:auto;
  min-height:0;
  padding:0;
  margin:0;
  flex:none;
  overflow:hidden;
  background:#eef3f7;
}
.efph-page--v7 .efph-section--content-view .efph-content-card--item:not(.efph-content-card--profile-list) .efph-content-card__media{
  aspect-ratio:1 / 1;
}
.efph-page--v7 .efph-section--content-view .efph-content-card--profile-list .efph-content-card__media{
  aspect-ratio:16 / 9;
}
.efph-page--v7 .efph-section--content-view .efph-content-card--item .efph-content-card__media img{
  display:block;
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  max-height:none;
  object-fit:contain;
  object-position:center;
}
/* A blurred copy fills the 1:1 photo canvas; the foreground keeps the full
   original hotel/portfolio image. Do not apply this to 16:9 list covers. */
.efph-page--v7 .efph-section--content-view .efph-content-card--item:not(.efph-content-card--profile-list) .efph-content-card__media img.efph-content-card__backdrop{
  position:absolute;
  inset:0;
  z-index:0;
  object-fit:cover;
  filter:blur(14px) saturate(.8);
  transform:scale(1.12);
  opacity:.58;
  background:transparent;
  pointer-events:none;
}
.efph-page--v7 .efph-section--content-view .efph-content-card--item:not(.efph-content-card--profile-list) .efph-content-card__media img.efph-content-card__photo{
  position:absolute;
  inset:0;
  z-index:1;
  object-fit:contain;
  background:transparent;
}
.efph-page--v7 .efph-content-card--profile-list .efph-content-card__media .ef-list-cover,
.efph-page--v7 .efph-content-card--profile-list .efph-content-card__media .ef-list-cover__art{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  margin:0;
}
.efph-page--v7 .efph-content-card--profile-list .efph-content-card__media .ef-list-cover__photo{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
.efph-page--v7 .efph-content-card--profile-list .efph-content-card__media .ef-list-cover__illustration{
  width:100%;
  height:100%;
  object-fit:contain;
}
.efph-page--v7 .efph-section--content-view .efph-content-card__metrics{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  align-items:center;
  min-width:0;
  margin-top:auto;
  padding-top:10px;
}
.efph-page--v7 .efph-section--content-view .efph-content-card__metric{
  display:inline-flex;
  flex-wrap:wrap;
  align-items:center;
  gap:4px;
  min-height:24px;
  font-size:10px;
  line-height:1.25;
}
.efph-page--v7 .efph-section--content-view .efph-content-card__foot{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  margin-top:9px;
  padding-top:10px;
  border-top:1px solid #e5edf1;
}
.efph-page--v7 .efph-section--content-view .efph-content-card__action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:35px;
  min-width:84px;
  margin-left:auto;
  align-self:flex-end;
  padding:8px 11px;
  border:1px solid var(--pf-card-teal);
  border-radius:10px;
  color:#fff;
  background:var(--pf-card-teal);
  font-size:11px;
  font-weight:850;
  line-height:1.1;
  text-decoration:none;
  white-space:nowrap;
}
.efph-page--v7 .efph-section--content-view .efph-content-card__action:hover{
  color:#fff;
  background:#087c74;
  border-color:#087c74;
}
/* GRID (Dikey): all cards use the SAME 4/2/1 grid and stacked image/text. */
.efph-page--v7 .efph-section--content-view[data-view="grid"] .efph-content-card{
  display:flex;
  flex-direction:column;
}
.efph-page--v7 .efph-section--content-view[data-view="grid"] .efph-content-card--item:not(.efph-content-card--profile-list) .efph-content-card__media{
  aspect-ratio:1 / 1;
}
.efph-page--v7 .efph-section--content-view[data-view="grid"] .efph-content-card--profile-list .efph-content-card__media{
  aspect-ratio:16 / 9;
}
/* HORIZONTAL (Yatay): content is a square at 22% of card width,
   LISTS restore their original wide 16:9 at 36%; title and CTA identical. */
@media(min-width:761px){
  .efph-page--v7 .efph-section--content-view[data-view="horizontal"] .efph-content-card--item{
    display:grid;
    grid-template-columns:minmax(0,22%) minmax(0,1fr);
    min-height:0;
    align-items:start;
  }
  .efph-page--v7 .efph-section--content-view[data-view="horizontal"] .efph-content-card--profile-list{
    grid-template-columns:minmax(0,36%) minmax(0,1fr);
  }
  .efph-page--v7 .efph-section--content-view[data-view="horizontal"] .efph-content-card--item:not(.efph-content-card--profile-list) .efph-content-card__media{
    aspect-ratio:1 / 1;
    min-height:0;
    width:100%;
    height:auto;
  }
  .efph-page--v7 .efph-section--content-view[data-view="horizontal"] .efph-content-card--profile-list .efph-content-card__media{
    aspect-ratio:16 / 9;
    min-height:0;
    width:100%;
    height:auto;
  }
  .efph-page--v7 .efph-section--content-view[data-view="horizontal"] .efph-content-card--article{
    display:grid;
    grid-template-columns:minmax(0,36%) minmax(0,1fr);
    min-height:0;
    align-items:stretch;
  }
}
/* ARTICLE cover: same edge-to-edge image cropping and shell clipping as
   list cards. Media has zero inset, no separate corner radius or letterboxing.
   Dikey: 16:9 image above text. Yatay: image fills whole left card column.
   The single card chrome, 16px/15px title and CTA are not changed. */
.efph-page--v7 .efph-section--content-view .efph-content-card--article .efph-content-card__media{
  position:relative;
  display:block;
  align-self:stretch;
  width:100%;
  height:auto;
  min-height:0;
  aspect-ratio:16 / 9;
  margin:0;
  padding:0;
  overflow:hidden;
  border-radius:0;
  background:transparent;
}
.efph-page--v7 .efph-section--content-view .efph-content-card--article .efph-content-card__media img{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  max-height:none;
  object-fit:cover;
  object-position:center;
}
/* Horizontal article uses the FIRST GRID CELL at its FULL width.
   Earlier position:absolute plus width:36% applied 36% *inside an already
   36%-wide grid track*, shrinking the image to ~13% of the card.
   Keep media in the grid flow and let stretch fill the text-driven row.
   The embedded image remains cover-cropped edge-to-edge. */
@media(min-width:430px){
  .efph-page--v7 .efph-section--content-view[data-view="horizontal"] .efph-content-card--article{
    position:relative;
  }
  .efph-page--v7 .efph-section--content-view[data-view="horizontal"] .efph-content-card--article .efph-content-card__media{
    position:relative;
    grid-column:1;
    grid-row:1;
    align-self:stretch;
    width:100%;
    height:auto;
    min-height:0;
    aspect-ratio:auto;
    margin:0;
    padding:0;
    border-radius:0;
  }
  .efph-page--v7 .efph-section--content-view[data-view="horizontal"] .efph-content-card--article .efph-content-card__body{
    grid-column:2;
    grid-row:1;
    padding:10px 14px;
    gap:5px;
    min-height:0;
  }
  .efph-page--v7 .efph-section--content-view[data-view="horizontal"] .efph-content-card--article .efph-content-card__metrics{
    margin-top:0;
    padding-top:4px;
  }
  .efph-page--v7 .efph-section--content-view[data-view="horizontal"] .efph-content-card--article .efph-content-card__foot{
    margin-top:5px;
    padding-top:7px;
  }
}
/* Video, service and social cards share border, heading and accent standard. */
.efph-page--v7 .efph-section--profile-extras[data-view="horizontal"] .efph-video-grid{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-start;
}
.efph-page--v7 .efph-section--profile-extras[data-view="horizontal"] .efph-video-card:has(.efph-video-frame){
  display:flex;
  flex:0 0 36%;
  width:36%;
  max-width:100%;
  flex-direction:column;
  align-items:stretch;
  gap:0;
  min-height:0;
}
.efph-page--v7 .efph-video-card__heading{
  display:block;
  margin:0;
  padding:13px 13px 10px;
}
.efph-page--v7 .efph-section--profile-extras[data-view="horizontal"] .efph-video-card .efph-video-frame{
  display:block;
  position:relative;
  width:calc(100% - 24px);
  height:auto;
  min-height:0;
  aspect-ratio:16 / 9;
  margin:0 12px 12px;
  align-self:stretch;
  overflow:hidden;
  border-radius:10px;
}
.efph-page--v7 .efph-section--profile-extras[data-view="horizontal"] .efph-video-card .efph-video-frame iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}
.efph-page--v7 .efph-video-card__body{padding:0 13px 13px}
.efph-page--v7 .efph-section--profile-extras :is(.efph-service,.efph-social-post){padding:15px}
.efph-page--v7 .efph-section--profile-extras :is(.efph-service>a,.efph-social-post__link){
  display:inline-flex;
  min-height:35px;
  padding:8px 11px;
  margin-top:12px;
  border:1px solid var(--pf-card-teal);
  border-radius:10px;
  color:#fff;
  background:var(--pf-card-teal);
  font-size:11px;
  font-weight:850;
  text-decoration:none;
}
/* Tablet: keep a real image/text horizontal row at 430–760px. */
@media(min-width:430px) and (max-width:760px){
  .efph-page--v7 .efph-section--content-view[data-view="horizontal"] .efph-content-card--item{
    display:grid;
    grid-template-columns:minmax(0,33%) minmax(0,1fr);
    align-items:start;
    min-height:0;
  }
  .efph-page--v7 .efph-section--content-view[data-view="horizontal"] .efph-content-card--profile-list{
    grid-template-columns:minmax(0,39%) minmax(0,1fr);
  }
  .efph-page--v7 .efph-section--content-view[data-view="horizontal"] .efph-content-card--article{
    display:grid;
    grid-template-columns:minmax(0,39%) minmax(0,1fr);
    align-items:stretch;
    min-height:0;
  }
  .efph-page--v7 .efph-section--content-view[data-view="horizontal"] .efph-content-card--article .efph-content-card__media{
    width:100%;
  }
  .efph-page--v7 .efph-section--content-view[data-view="horizontal"] .efph-content-card__body{
    padding:11px;
  }
  .efph-page--v7 .efph-section--profile-lists{padding:13px}
}
/* Mobile: full-width cards, image above body; horizontal page never scrolls. */
@media(max-width:429px){
  .efph-page--v7{--pf-card-title-size:15px}
  .efph-page--v7 .efph-section--profile-lists{padding:12px}
  .efph-page--v7 .efph-section--content-view[data-view="horizontal"] .efph-content-card{
    display:flex;
    flex-direction:column;
    min-height:0;
  }
  .efph-page--v7 .efph-section--content-view[data-view="horizontal"] .efph-content-card__media{
    width:100%;
    height:auto;
    min-height:0;
  }
  .efph-page--v7 .efph-section--content-view[data-view="horizontal"] .efph-content-card--item:not(.efph-content-card--profile-list) .efph-content-card__media{
    aspect-ratio:1 / 1;
  }
  .efph-page--v7 .efph-section--content-view[data-view="horizontal"] .efph-content-card--profile-list .efph-content-card__media{
    aspect-ratio:16 / 9;
  }
  .efph-page--v7 .efph-section--content-view[data-view="horizontal"] .efph-content-card--article .efph-content-card__media{
    width:100%;
    height:auto;
    min-height:0;
    aspect-ratio:16 / 9;
    align-self:stretch;
    margin:0;
    border-radius:0;
  }
}
/* Unified phone layout: every title is LEFT, section count RIGHT,
   and optional sort/view controls occupy the following row. */
@media(max-width:760px){
  .efph-page--v7 :is(.efph-section--content-view,.efph-section--profile-extras) > .efph-section__head{
    display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;
    justify-content:flex-start;gap:10px;margin-bottom:14px;min-width:0;
  }
  .efph-page--v7 :is(.efph-section--content-view,.efph-section--profile-extras) > .efph-section__head > .efph-section__identity{
    display:flex;flex:0 1 auto;flex-wrap:nowrap;align-items:center;
    justify-content:space-between;gap:9px;width:100%;min-width:0;
  }
  .efph-page--v7 :is(.efph-section--content-view,.efph-section--profile-extras) .efph-section__identity h2{
    flex:1 1 auto;min-width:0;margin:0;font-size:18px;line-height:1.3;
    text-align:left;overflow-wrap:anywhere;
  }
  .efph-page--v7 :is(.efph-section--content-view,.efph-section--profile-extras) .efph-section__identity .efph-section-count{
    flex:0 0 auto;margin-left:auto;white-space:nowrap;
  }
  .efph-page--v7 :is(.efph-section--content-view,.efph-section--profile-extras) > .efph-section__head > .efph-section__controls{
    display:flex;flex:0 1 auto;flex-wrap:wrap;align-self:stretch;align-items:center;
    justify-content:flex-end;gap:8px;width:100%;min-width:0;
  }
  .efph-page--v7 .efph-section--profile-lists .efph-section__controls .list-directory__toolbar{
    display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;
    width:100%;min-width:0;gap:9px;
  }
  .efph-page--v7 .efph-section--profile-lists .efph-section__controls .list-directory__sort{
    flex:1 1 auto;min-width:0;
  }
  .efph-page--v7 .efph-section--profile-lists .efph-section__controls .list-directory__sort select{
    min-width:0;width:100%;
  }
  .efph-page--v7 .efph-section--profile-lists .efph-section__controls .list-directory__view-switch{
    flex:0 0 auto;
  }
}

/* Mobile: remove the redundant video tile chrome, not the Videos section.
   The iframe/player fills the section content width without inner gutters. */
@media(max-width:760px){
  .efph-page--v7{--pf-card-title-size:15px}
  .efph-page--v7 .efph-section--profile-extras .efph-video-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    width:100%;
    gap:14px;
  }
  .efph-page--v7 .efph-section--profile-extras .efph-video-card,
  .efph-page--v7 .efph-section--profile-extras[data-view="horizontal"] .efph-video-card:has(.efph-video-frame){
    display:flex;
    flex:1 1 100%;
    flex-direction:column;
    align-items:stretch;
    width:100%;
    min-width:0;
    max-width:100%;
    margin:0;
    padding:0;
    gap:0;
    overflow:visible;
    border:0;
    border-radius:0;
    box-shadow:none;
    background:transparent;
  }
  .efph-page--v7 .efph-section--profile-extras .efph-video-card__heading{
    padding:0 0 10px;
    margin:0;
  }
  .efph-page--v7 .efph-section--profile-extras .efph-video-card .efph-video-frame,
  .efph-page--v7 .efph-section--profile-extras[data-view="horizontal"] .efph-video-card .efph-video-frame{
    position:relative;
    display:block;
    flex:none;
    align-self:stretch;
    width:100%;
    max-width:100%;
    height:auto;
    min-height:0;
    aspect-ratio:16 / 9;
    margin:0;
    padding:0;
    border:0;
    border-radius:9px;
    overflow:hidden;
  }
  .efph-page--v7 .efph-section--profile-extras .efph-video-card__body{
    padding:10px 0 0;
  }
}
:is(html[data-theme="dark"],body.theme-dark) .efph-page--v7{
  --pf-card-paper:#1b3344;
  --pf-card-line:#385668;
  --pf-card-ink:#f0f9fc;
  --pf-card-muted:#c1d4de;
}

/* The legacy forced mobile action/stat grid was retired in favor of profile-mobile-compact-20261111.css. */

/* Profile content: lead with the actual description; list placements are
   a secondary accessible disclosure (never repeated cards). */
.efph-page--v7 .efph-section--content-view .efph-content-card--item:not(.efph-content-card--profile-list) .efph-item-description{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:4;
  overflow:hidden;
  margin:0;
  color:var(--pf-card-muted);
  line-height:1.55;
  overflow-wrap:anywhere;
}
.efph-page--v7 .efph-item-placements{
  margin-top:7px;
  padding-top:9px;
  border-top:1px solid var(--pf-card-line);
  min-width:0;
}
.efph-page--v7 .efph-item-placements__trigger{
  display:inline-flex;
  align-items:center;
  flex-wrap:wrap;
  justify-content:flex-start;
  gap:7px;
  min-height:35px;
  max-width:100%;
  padding:6px 10px;
  border:1px solid var(--pf-card-line);
  border-radius:9px;
  background:#f6fbfd;
  color:var(--pf-card-ink);
  font:inherit;
  font-size:12px;
  font-weight:800;
  line-height:1.4;
  cursor:pointer;
  text-align:left;
  overflow-wrap:anywhere;
}
.efph-page--v7 .efph-item-placements__trigger:hover{
  background:#e9f8f6;
  border-color:var(--pf-card-teal);
}
.efph-page--v7 .efph-item-placements__trigger:focus-visible,
.efph-page--v7 .efph-item-lists-popover button:focus-visible,
.efph-page--v7 .efph-item-lists-popover a:focus-visible{
  outline:2px solid var(--pf-card-teal);
  outline-offset:3px;
}
.efph-page--v7 .efph-item-placements__icon{
  color:var(--pf-card-teal);
  font-size:16px;
  line-height:1;
}
.efph-page--v7 .efph-item-placements__arrow{
  font-size:14px;
  color:var(--pf-card-teal);
}
.efph-page--v7 .efph-item-lists-popover{
  box-sizing:border-box;
  width:min(480px,calc(100vw - 28px));
  max-width:calc(100vw - 28px);
  max-height:min(70vh,550px);
  overflow:auto;
  margin:auto;
  padding:20px;
  border:1px solid #bfd7df;
  border-radius:16px;
  background:#fff;
  color:#153047;
  box-shadow:0 22px 65px rgba(9,33,50,.26);
  font-family:inherit;
}
.efph-page--v7 .efph-item-lists-popover:popover-open{
  position:fixed;
  inset:0;
  display:block;
}
.efph-page--v7 .efph-item-lists-popover::backdrop{
  background:rgba(9,28,43,.23);
}
.efph-page--v7 .efph-item-lists-popover__head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  padding-bottom:13px;
  margin-bottom:12px;
  border-bottom:1px solid #d7e7ed;
}
.efph-page--v7 .efph-item-lists-popover__head h3{
  margin:4px 0 0;
  color:#122d42;
  font-size:18px !important;
  line-height:1.3;
  font-weight:850;
}
.efph-page--v7 .efph-item-lists-popover__eyebrow{
  margin:0;
  color:#557182;
  font-size:12px;
  font-weight:750;
}
.efph-page--v7 .efph-item-lists-popover__close{
  display:inline-grid;
  flex:none;
  place-items:center;
  width:34px;
  height:34px;
  border:1px solid #c9dfe6;
  border-radius:10px;
  color:#243f51;
  background:#f5fafc;
  cursor:pointer;
  font-size:23px;
  line-height:1;
}
.efph-page--v7 .efph-item-lists-popover__list{
  display:grid;
  gap:8px;
  margin:0;
  padding:0;
  list-style:none;
}
.efph-page--v7 .efph-item-lists-popover__list li{min-width:0}
.efph-page--v7 .efph-item-lists-popover__list a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:43px;
  padding:10px 12px;
  border:1px solid #d4e5ec;
  border-radius:10px;
  color:#087e78;
  background:#f5fbfc;
  font-size:13px;
  font-weight:750;
  line-height:1.4;
  overflow-wrap:anywhere;
  text-decoration:none;
}
.efph-page--v7 .efph-item-lists-popover__list a:hover{
  border-color:#0d9488;
  background:#eaf8f5;
  text-decoration:underline;
  text-underline-offset:3px;
}
.efph-page--v7 .efph-item-lists-popover__list a span{
  flex:none;
  font-size:16px;
}
@media(max-width:429px){
  .efph-page--v7 .efph-item-lists-popover{padding:15px}
  .efph-page--v7 .efph-item-lists-popover__head h3{font-size:16px !important}
}
:is(html[data-theme="dark"],body.theme-dark) .efph-page--v7 .efph-item-placements__trigger{
  background:#243e4e;
  color:#f0f9fc;
}

/* === ENFAVORI PROFILE POSTER CARDS V3 === */
/*
 * Single mobile card system for published content inside Digital Vitrin.
 * The article and list covers use identical 16:9 framing; favorite-area
 * product photos remain 1:1. Other site directories are not affected.
 * One source of truth replaces both obsolete V1 poster tiles and the V2
 * runtime add-on, which had competing square-image rules.
 */
@media (max-width:760px) {
  .efph-page--v7.efv-page {
    --pf-card-title-size:13px;
    --pf-card-gap:9px;
    --pf-card-radius:13px;
  }

  /* Two-column public profile cards regardless of horizontal/grid defaults. */
  .efph-page--v7.efv-page
  .efph-section--content-view[data-profile-auto-view="1"]
  :is(.efph-card-grid,.list-directory__grid) {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    width:100%;
    min-width:0;
    align-items:stretch;
    gap:9px;
  }

  .efph-page--v7.efv-page
  .efph-section--content-view[data-profile-auto-view="1"]
  :is(.efph-card-grid,.list-directory__grid) > .efph-content-card,
  .efph-page--v7.efv-page
  .efph-section--content-view[data-profile-auto-view="1"][data-view="horizontal"]
  .efph-content-card--item,
  .efph-page--v7.efv-page
  .efph-section--content-view[data-profile-auto-view="1"][data-view="horizontal"]
  .efph-content-card--article {
    display:flex;
    flex-direction:column;
    grid-template-columns:none;
    align-items:stretch;
    min-width:0;
    width:100%;
    height:100%;
    margin:0;
    border:1px solid #dce6eb;
    border-radius:13px;
    overflow:hidden;
    background:#fff;
    box-shadow:0 7px 18px -17px rgba(20,40,68,.5);
  }

  /* Favorite-area media stays square; same positioning for all content. */
  .efph-page--v7.efv-page
  .efph-section--content-view[data-profile-auto-view="1"]
  .efph-content-card .efph-content-card__media {
    display:block;
    position:relative;
    flex:none;
    align-self:stretch;
    width:100%;
    height:auto;
    min-height:0;
    max-height:none;
    aspect-ratio:1 / 1;
    margin:0;
    padding:0;
    overflow:hidden;
    border:0;
    border-radius:0;
    background:#eef3f7;
  }

  /* Lists and articles share one exact horizontal image ratio.
     Specific selector + !important retires the old square cover rules. */
  .efph-page--v7.efv-page
  .efph-section--content-view[data-profile-auto-view="1"]
  :is(.efph-content-card--profile-list,.efph-content-card--article)
  .efph-content-card__media {
    aspect-ratio:16 / 9 !important;
    height:auto !important;
    min-height:0 !important;
    padding:0 !important;
  }

  /* The list cover component contains nested wrappers, unlike articles. */
  .efph-page--v7.efv-page
  .efph-section--content-view[data-profile-auto-view="1"]
  .efph-content-card--profile-list
  .efph-content-card__media :is(.ef-list-cover,.ef-list-cover__art) {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    min-height:0;
    max-height:none;
    margin:0;
    border-radius:0;
  }

  .efph-page--v7.efv-page
  .efph-section--content-view[data-profile-auto-view="1"]
  .efph-content-card .efph-content-card__media img {
    display:block;
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    max-width:100%;
    max-height:100%;
    object-position:center;
  }
  .efph-page--v7.efv-page
  .efph-section--content-view[data-profile-auto-view="1"]
  .efph-content-card--item:not(.efph-content-card--profile-list)
  .efph-content-card__media img.efph-content-card__photo {
    object-fit:contain;
  }
  .efph-page--v7.efv-page
  .efph-section--content-view[data-profile-auto-view="1"]
  :is(.efph-content-card--profile-list,.efph-content-card--article)
  .efph-content-card__media img {
    object-fit:cover;
  }
  .efph-page--v7.efv-page
  .efph-section--content-view[data-profile-auto-view="1"]
  .efph-content-card--profile-list
  .ef-list-cover__photo {
    object-fit:cover;
  }

  /* Exactly the article card's compact image-title-excerpt-action anatomy. */
  .efph-page--v7.efv-page
  .efph-section--content-view[data-profile-auto-view="1"]
  .efph-content-card__body {
    display:flex;
    flex:1 1 auto;
    flex-direction:column;
    align-items:stretch;
    min-width:0;
    gap:5px;
    padding:10px 9px 9px;
  }
  .efph-page--v7.efv-page
  .efph-section--content-view[data-profile-auto-view="1"]
  .efph-content-card .efph-kicker {
    display:block;
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:10px;
    line-height:1.3;
    font-weight:800;
  }
  .efph-page--v7.efv-page
  .efph-section--content-view[data-profile-auto-view="1"]
  .efph-content-card__body > h3 {
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
    overflow:hidden;
    margin:0;
    min-height:0;
    line-height:1.3;
    font-size:13px;
    letter-spacing:-.012em;
    overflow-wrap:anywhere;
  }
  .efph-page--v7.efv-page
  .efph-section--content-view[data-profile-auto-view="1"]
  .efph-content-card__body > :is(p,.efph-item-description) {
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
    min-height:0;
    margin:0;
    font-size:10.5px;
    line-height:1.42;
    color:var(--pf-card-muted);
  }

  /* Metrics stay present for desktop and assistive source data, but mobile
     list cards no longer carry extra rows absent from article cards. */
  .efph-page--v7.efv-page
  .efph-section--content-view[data-profile-auto-view="1"]
  .efph-content-card__metrics {
    display:none;
  }
  /* In favorite-area tiles, reserve all variable-height text space
     ABOVE the placements strip, so its divider and label align between cards. */
  .efph-page--v7.efv-page
  .efph-section--content-view[data-profile-auto-view="1"]
  .efph-item-placements {
    margin-top:auto;
    padding-top:5px;
  }
  .efph-page--v7.efv-page
  .efph-section--content-view[data-profile-auto-view="1"]
  .efph-item-placements__trigger {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    max-width:100%;
    min-height:28px;
    gap:3px;
    padding:4px 5px;
    font-size:9px;
    line-height:1.2;
  }

  .efph-page--v7.efv-page
  .efph-section--content-view[data-profile-auto-view="1"]
  .efph-content-card__foot {
    display:flex;
    flex:none;
    justify-content:flex-end;
    align-items:center;
    margin-top:auto;
    padding-top:7px;
    border-top:0;
  }
  /* The action button follows the aligned placement strip.
     Without this, two auto margins split free space and dividers stay offset.
     Cards WITHOUT a placement strip retain their own bottom-pinned action. */
  .efph-page--v7.efv-page
  .efph-section--content-view[data-profile-auto-view="1"]
  .efph-content-card__body:has(> .efph-item-placements)
  > .efph-content-card__foot {
    margin-top:0;
  }
  .efph-page--v7.efv-page
  .efph-section--content-view[data-profile-auto-view="1"]
  .efph-content-card__action {
    display:inline-flex;
    min-width:0;
    min-height:31px;
    max-width:100%;
    margin-left:auto;
    padding:6px 8px;
    border-radius:8px;
    font-size:10px;
    line-height:1.2;
    white-space:normal;
  }
  .efph-page--v7.efv-page
  .efph-section--content-view[data-profile-auto-view="1"]
  :is(a,button):focus-visible {
    outline:2px solid #0e9188;
    outline-offset:2px;
  }
}
@media (max-width:350px) {
  .efph-page--v7.efv-page {
    --pf-card-title-size:12px;
    --pf-card-gap:7px;
  }
  .efph-page--v7.efv-page
  .efph-section--content-view[data-profile-auto-view="1"]
  :is(.efph-card-grid,.list-directory__grid) {
    gap:7px;
  }
  .efph-page--v7.efv-page
  .efph-section--content-view[data-profile-auto-view="1"]
  .efph-content-card__body {
    padding:8px 7px;
  }
}


/* === ENFAVORI PUBLIC VITRIN: TWO VISIBLE SWIPE CARDS ===
 * All sections with published favorite areas / lists / articles share this
 * phone-only native horizontal rail. Other content and desktop are untouched.
 * Exactly two full cards fit within the existing section content width.
 */
@media (max-width:760px) {
  .efph-page--v7.efv-page
  .efph-section--content-view[data-profile-auto-view="1"]
  :is(.efph-card-grid,.list-directory__grid) {
    display:grid;
    grid-template-columns:none;
    grid-template-rows:1fr;
    grid-auto-flow:column;
    grid-auto-columns:calc((100% - 9px) / 2);
    gap:9px;
    align-items:stretch;
    width:100%;
    max-width:100%;
    min-width:0;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-snap-type:x mandatory;
    scroll-padding-inline:0;
    overscroll-behavior-x:contain;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    touch-action:pan-x pan-y;
    padding:0 0 3px;
  }
  .efph-page--v7.efv-page
  .efph-section--content-view[data-profile-auto-view="1"]
  :is(.efph-card-grid,.list-directory__grid)::-webkit-scrollbar {
    display:none;
  }
  .efph-page--v7.efv-page
  .efph-section--content-view[data-profile-auto-view="1"]
  :is(.efph-card-grid,.list-directory__grid) > .efph-content-card {
    min-width:0;
    width:100%;
    max-width:100%;
    scroll-snap-align:start;
    scroll-snap-stop:normal;
  }

  /* Added only for rails with more than two published cards. */
  .efph-page--v7.efv-page .efph-swipe-pages {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    width:100%;
    padding:11px 4px 0;
    margin:0;
  }
  .efph-page--v7.efv-page .efph-swipe-pages__dot {
    appearance:none;
    -webkit-appearance:none;
    display:grid;
    place-items:center;
    flex:0 0 28px;
    width:28px;
    height:28px;
    min-width:28px;
    min-height:28px;
    margin:0;
    padding:0;
    border:0;
    border-radius:99px;
    background:transparent;
    cursor:pointer;
  }
  .efph-page--v7.efv-page .efph-swipe-pages__dot::before {
    content:"";
    display:block;
    width:7px;
    height:7px;
    border-radius:99px;
    background:#c5d7df;
    transition:width .15s ease, background-color .15s ease;
  }
  .efph-page--v7.efv-page .efph-swipe-pages__dot[aria-current="page"]::before {
    width:19px;
    background:#0d9488;
  }
  .efph-page--v7.efv-page .efph-swipe-pages__dot:focus-visible {
    outline:2px solid #142844;
    outline-offset:3px;
  }
}
@media (max-width:350px) {
  .efph-page--v7.efv-page
  .efph-section--content-view[data-profile-auto-view="1"]
  :is(.efph-card-grid,.list-directory__grid) {
    grid-auto-columns:calc((100% - 7px) / 2);
    gap:7px;
  }
}
@media (min-width:761px) {
  .efph-page--v7.efv-page .efph-swipe-pages {display:none}
}
@media (prefers-reduced-motion:reduce) {
  .efph-page--v7.efv-page .efph-swipe-pages__dot::before {transition:none}
}

/* EF-VITRIN-DESKTOP-LIST-COVER-20261111
   Only public Digital Vitrin desktop list images.
   No changes to mobile, article, item or global list cards.
*/
@media (min-width: 761px) {

  .efph-page--v7
  .efph-section--profile-lists[data-view="horizontal"]
  .efph-content-card--profile-list
  .efph-content-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    padding: 0;
    background: #eef3f7;
  }

  .efph-page--v7
  .efph-section--profile-lists[data-view="horizontal"]
  .efph-content-card--profile-list
  .efph-content-card__media .ef-list-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
  }

  .efph-page--v7
  .efph-section--profile-lists[data-view="horizontal"]
  .efph-content-card--profile-list
  .efph-content-card__media img.ef-list-cover__photo {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover !important;
    object-position: center center;
  }

}
