/* ===== Header, menu, search, home hero - Candidly Yours Photography static site (hand-written; matches the Polo look) ===== */
:root{--green:rgb(40,180,115);--ink:rgb(37,37,37);--text:rgb(86,86,86)}

/* ---------- header ---------- */
.ph{position:relative;height:80px;z-index:1000}
.ph-wrap{background:#fff;width:100%}
.ph-in{position:relative;display:flex;align-items:stretch;width:1170px;max-width:100%;height:80px;margin:0 auto;padding:0 15px}
.ph-logo{order:1;flex:0 0 auto;height:80px;line-height:0}
.ph-logo a{display:inline-block}
.ph-logo img{height:80px;width:auto;max-width:none}
.ph-nav{order:2;margin-left:auto;display:flex;align-items:center}
.ph-extras{order:3;flex:0 0 84px;display:flex;align-items:center}
.pm{list-style:none;margin:0;padding:0;display:flex}
.pm li{margin-left:6px;display:flex;align-items:center}
.pm a{display:block;padding:11px 14px;font-family:Raleway,Helvetica,Arial,sans-serif;font-size:12px;font-weight:700;line-height:14px;letter-spacing:1px;text-transform:uppercase;color:var(--ink);transition:color .3s}
.pm a:hover,.pm li.current a{color:var(--green)}
.ph-search-btn{margin-left:20px;width:13px;height:80px;padding:0;border:0;background:none;color:var(--text);cursor:pointer;display:flex;align-items:center}
.ph-search-btn svg{width:13px;height:14px;display:block}
.ph-search-btn svg+svg{display:none;width:11px}
.ph-search-btn:hover{color:var(--green)}
.ph-burger{display:none}
.ph-search{position:absolute;left:15px;right:15px;top:0;height:80px;margin:0;z-index:2;visibility:hidden;opacity:0;transition:opacity .3s}
.ph-search input{width:100%;height:80px;padding:0 94px 0 0;border:0;background:transparent;outline:0;font-family:"Open Sans",Helvetica,Arial;font-size:30px;font-weight:300;letter-spacing:2px;color:rgb(85,85,85);border-radius:0}
.ph.search-open .ph-search{visibility:visible;opacity:1}
.ph.search-open .ph-logo,.ph.search-open .ph-nav{visibility:hidden;opacity:0}
.ph.search-open .ph-extras{position:relative;z-index:3}
.ph.search-open .ph-search-btn svg{display:none}
.ph.search-open .ph-search-btn svg+svg{display:block}
/* sticky on desktop once the page scrolls past the header */
.ph.stuck .ph-wrap{position:fixed;top:0;left:0;box-shadow:rgba(0,0,0,.06) 0 12px 6px 0}

@media (max-width:1199.98px){
  .ph{height:160px}
  .ph-in{width:970px;height:160px;flex-wrap:wrap}
  .ph-extras{order:2;margin-left:auto;height:80px}
  .ph-nav{order:3;flex:0 0 calc(100% + 30px);margin:0 -30px 0 0;height:80px;justify-content:flex-end}
}
@media (max-width:991.98px){
  .ph{height:80px}
  .ph.stuck .ph-wrap{position:static;box-shadow:none}
  .ph-in{width:750px;height:auto;min-height:80px;flex-wrap:wrap}
  .ph-burger{order:0;display:flex;align-items:center;width:16px;height:80px;padding:0;border:0;background:none;cursor:pointer;position:relative;z-index:2}
  .ph-burger span,.ph-burger span::before,.ph-burger span::after{display:block;width:16px;height:2px;background:rgb(17,17,17);transition:transform .3s,background-color .3s}
  .ph-burger span{position:relative}
  .ph-burger span::before,.ph-burger span::after{content:"";position:absolute;left:0}
  .ph-burger span::before{top:-5px}.ph-burger span::after{top:5px}
  .ph.menu-open .ph-burger span{background:transparent}
  .ph.menu-open .ph-burger span::before{transform:translateY(5px) rotate(45deg)}
  .ph.menu-open .ph-burger span::after{transform:translateY(-5px) rotate(-45deg)}
  .ph-logo{position:absolute;left:15px;right:15px;top:0;text-align:center;order:1}
  .ph-extras{order:2;margin-left:auto;height:80px;position:relative;z-index:2}
  .ph-nav{display:none;order:3;flex:0 0 100%;margin:0;height:auto;padding:0 0 20px}
  .ph.menu-open .ph-nav{display:block}
  .ph.menu-open .ph-wrap{box-shadow:rgba(0,0,0,.06) 0 12px 6px 0}
  .pm{display:block}
  .pm li{display:block;margin:0}
  .pm a{padding:12px 0;font-size:13px;line-height:15px}
}
@media (max-width:767.98px){.ph-in{width:470px}}
@media (max-width:575.98px){
  .ph-in{width:100%;padding:0 10px}
  .ph-logo{left:20px;right:30px}
  .ph-extras{flex-basis:54px}
  .ph-search-btn{margin-left:10px}
}

/* ---------- home hero (was Slider Revolution) ---------- */
.rh{position:relative;width:100%}
.rh-stage{position:relative;width:100%;aspect-ratio:16/10;overflow:hidden;background:#000;touch-action:pan-y;user-select:none}
@media (max-width:1239.98px){.rh-stage{aspect-ratio:3/2}}
@media (max-width:777.98px){.rh-stage{aspect-ratio:16/9}}
.rh-slide{position:absolute;inset:0;opacity:0;z-index:1;transition:opacity .3s ease}
.rh-slide.on{opacity:1;z-index:2}
.rh-slide img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 50%}
.rh-cap{position:absolute;inset:0;z-index:5;pointer-events:none;color:#fff;opacity:0;transition:opacity 1.2s ease}
.rh.cap .rh-cap{opacity:1}
.rh-welcome{position:absolute;left:calc(50% - 575px);top:100px;font:400 20px/22px "Open Sans";white-space:nowrap}
.rh-line{position:absolute;left:calc(50% - 575px);top:138px;width:125px;height:2px;background:#fff}
.rh-title{position:absolute;left:52px;top:160px;width:580px;font:400 80px/90px "Roboto Condensed";text-transform:uppercase}
@media (max-width:1239.98px){
  .rh-welcome{left:81px;top:81px;font-size:16px;line-height:18px}
  .rh-line{left:81px;top:112px;width:102px}
  .rh-title{left:42px;top:130px;width:472px;font-size:65px;line-height:73px}
}
@media (max-width:1023.98px){
  .rh-welcome{left:66px;top:66px;font-size:13px;line-height:15px}
  .rh-line{left:66px;top:92px;width:83px;height:1px}
  .rh-title{left:26px;top:81%;width:320px;font-size:27px;line-height:27px;font-weight:500}
}
@media (max-width:777.98px){
  .rh-welcome{left:83px;top:83px;font-size:17px;line-height:18px}
  .rh-line{left:83px;top:115px;width:104px;height:2px}
  .rh-title{left:25px;top:68%;width:283px;font-size:21px;line-height:21px}
}
@media (max-width:479.98px){
  .rh-welcome{left:54px;top:54px;font-size:11px;line-height:12px}
  .rh-line{left:54px;top:74px;width:68px;height:1px}
  .rh-title{left:10px;top:65%;width:141px;font-size:11px;line-height:11px}
}
.rh-arrow{position:absolute;top:50%;margin-top:-20px;width:40px;height:40px;padding:0;border:0;background:rgba(0,0,0,.5);cursor:pointer;z-index:10;transition:background-color .3s}
.rh-arrow:hover{background:#000}
.rh-arrow::before{content:"";position:absolute;top:16px;width:8px;height:8px;border-top:1.5px solid #fff;border-left:1.5px solid #fff}
.rh-prev{left:30px}.rh-prev::before{left:17px;transform:rotate(-45deg)}
.rh-next{right:30px}.rh-next::before{left:14px;transform:rotate(135deg)}
.rh-dots{position:absolute;left:0;right:0;bottom:30px;z-index:10;display:flex;justify-content:center;gap:5px}
.rh-dot{width:16px;height:16px;padding:0;border:0;border-radius:50%;background:transparent;box-shadow:inset 0 0 0 2px #fff;cursor:pointer;transition:background-color .3s}
.rh-dot:hover,.rh-dot.on{background:#fff}
@media (max-width:599.98px){.rh-arrow,.rh-dots{display:none}}
.rh-thumbs{background:#000;padding:15px}
.rh-tm{display:flex;justify-content:center;gap:5px;overflow:hidden}
.rh-thumb{flex:0 1 150px;height:100px;min-width:0;padding:3px;border:0;background:rgba(0,0,0,.25);cursor:pointer}
.rh-thumb img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;opacity:.7;transition:opacity .3s}
.rh-thumb.on{background:rgba(255,255,255,.85)}
.rh-thumb.on img,.rh-thumb:hover img{opacity:1}
@media (max-width:1023.98px){.rh-thumb{flex-basis:126px;height:84px}}
@media (max-width:777.98px){.rh-thumb{flex-basis:50px;height:33px;padding:2px}}

/* ---------- footer social icons (FontAwesome on the live site) ---------- */
.si{display:inline-block;height:18px;width:18px;fill:currentColor;vertical-align:middle}

/* ---------- search results page ---------- */
.sr{width:1170px;max-width:100%;margin:0 auto;padding:60px 15px 100px}
@media (max-width:1199.98px){.sr{width:970px}}
@media (max-width:991.98px){.sr{width:750px}}
@media (max-width:767.98px){.sr{width:470px}}
@media (max-width:575.98px){.sr{width:100%}}
.sr-h{font:400 40px/1.2 "Roboto Condensed",Arial,sans-serif;color:var(--ink);margin:0 0 30px}
.sr form{display:flex;gap:10px;max-width:700px;margin:0 0 40px}
.sr input{flex:1;min-width:0;height:50px;padding:10px 15px;border:1px solid #ccc;font:16px "Open Sans",Arial;color:#333;border-radius:0}
.sr button{height:50px;padding:0 28px;border:0;background:var(--green);color:#fff;font:600 16px "Open Sans",Arial;cursor:pointer}
.sr-count{color:var(--ink);font-weight:600;margin:0 0 20px}
.sr-item{padding:20px 0;border-bottom:1px solid #e5e5e5}
.sr-item a{font-size:20px;font-weight:600;line-height:30px}
.sr-item p{margin:6px 0 0}
.sr-item mark{background:rgba(40,180,115,.18);color:inherit}
