/*
 Theme Name:   Gridzone Child
 Theme URI:    https://wordpress.org/themes/gridzone/
 Description:  Gridzone Child Theme
 Template:     gridzone
*/

#nav-header.nav-container{
  margin-top: 25px;
}

@media only screen and (min-width: 720px){
  #nav-header .nav li a{
    font-size: 20px;
  }
}

.masonry-item .entry-meta li.entry-icon{
  float: right;
  margin: 0;
}

#toolbar{
  padding: 20px 20px 0;
}

#toolbar strong{
  display: block;
  font-size: 16px;
}

#toolbar a{
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 16px;
  display: inline-block;
  padding: 4px 11px;
  margin: 0 2px;
  border-radius: 10px;
  pointer-events: auto;
  opacity: .5;
  transition: .3s;
}

#toolbar a:hover,
#toolbar a.active{
  opacity: 1;
}

#toolbar a.active{
  pointer-events: none;
}

#toolbar a i{
  font-size: 80%;
  margin-right: 6px;
}

#filters{
  margin-bottom: 10px;
}

@media only screen and (min-width: 720px){
  #toolbar{
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  #toolbar strong{
    display: inline;
  }

  #filters{
    margin: 0;
  }
}

.pld-like-dislike-wrap{
  display: block;
}

.pld-common-wrap{
  background: #f5f5f5;
  border-radius: 10px;
  font-weight: 600;
  padding: 10px 14px;
  font-size: 15px;
  line-height: 1.5em;
}

.pld-common-wrap i{
  margin-right: 6px;
}

.pld-common-wrap .pld-count-wrap{
  background-color: #fff;
  padding: 0 6px;
  margin-left: 8px;
  border-radius: 4px;
}

.pld-like-dislike-wrap .pld-prevent{
  pointer-events: none;
}

/* ============================= */
/* PLASTIC HUMAN HOMEPAGE STYLES */
/* ============================= */

body.home .ph-wrap{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================= */
/* HERO                          */
/* ============================= */

body.home .ph-hero{
  position: relative;
  overflow: hidden;
  height: 620px;
  margin: 0;
  width: 100%;
  max-width: none;
  border-radius: 0;
  background-color: #f5f3ef;
  background-image:
    linear-gradient(
      90deg,
      rgba(245,243,239,1.00) 0%,
      rgba(245,243,239,0.998) 34%,
      rgba(245,243,239,0.99) 49%,
      rgba(245,243,239,0.95) 58%,
      rgba(245,243,239,0.76) 64%,
      rgba(245,243,239,0.34) 69%,
      rgba(245,243,239,0.08) 73%,
      rgba(245,243,239,0.00) 77%
    ),
    url("https://plastichuman.com/wp-content/uploads/2026/03/nico-hero2-1-scaled.jpg");
  background-repeat: no-repeat, no-repeat;
  background-position: left top, calc(100% + 54px) center;
  background-size: auto, 660px auto;
}

body.home .ph-hero__mobile-image{
  display: none;
}

body.home .ph-hero::before,
body.home .ph-hero::after{
  content: none;
}

body.home .ph-hero__inner{
  position: relative;
  z-index: 2;
  width: 1200px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 132px 48px 0;
}

body.home .ph-hero__content{
  width: 760px;
  max-width: 760px;
}

body.home .ph-hero__title{
  margin: 0 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -0.4px;
  font-weight: 500;
  max-width: 760px;
  color: #2f2c2a;
}

body.home .ph-hero__subhead{
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.6;
  margin: 0 0 34px;
  width: 640px;
  max-width: 640px;
  color: rgba(0,0,0,.68);
}

body.home .ph-hero__actions{
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

body.home .ph-hero__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  padding: 16px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
}

body.home .ph-hero__btn--primary{
  background: #6319ad;
  color: #fff;
}

body.home .ph-hero__btn--secondary{
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(0,0,0,.10);
  color: #222;
}
/* ============================= */
/* FRAMEWORK                     */
/* ============================= */

body.home .ph-framework{
  padding: 40px 0 110px;
  background: #f7f7f7;
  margin-top: 0;
}

body.home .ph-framework h2{
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  line-height: 1.08;
  margin: 0 0 10px;
  letter-spacing: -0.2px;
  font-weight: 500;
  color: #2f2c2a;
}

body.home .ph-framework-intro{
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
  font-size: 22px;
  line-height: 1.6;
  color: rgba(0,0,0,.62);
}

body.home .ph-framework-top{
  display: flex;
  justify-content: center;
  margin-bottom: 0;
}

body.home .ph-card-self{
  width: min(80%, 760px);
  text-align: center;
  padding: 34px 40px;
  margin-bottom: 14px;
}

body.home .ph-framework-connectors{
  width: min(70%, 620px);
  margin: 14px auto 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  justify-items: center;
  height: 54px;
}

body.home .ph-framework-connectors span{
  display: block;
  width: 1.5px;
  height: 46px;
  background: rgba(0,0,0,.14);
  transition: background .25s ease, transform .25s ease;
  transform-origin: top center;
}

body.home .ph-framework-connectors span:nth-child(1){
  transform: rotate(28deg);
}

body.home .ph-framework-connectors span:nth-child(2){
  transform: rotate(0deg);
}

body.home .ph-framework-connectors span:nth-child(3){
  transform: rotate(-28deg);
}

body.home .ph-framework-bottom{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

body.home .ph-framework .ph-card{
  background: #fff;
  padding: 28px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.home .ph-framework .ph-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,0,0,.04);
  border-color: rgba(0,0,0,.12);
}

body.home .ph-card h3{
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1.12;
  font-weight: 500;
  color: #2f2c2a;
}

body.home .ph-card p{
  margin: 0;
  color: rgba(0,0,0,.7);
  line-height: 1.7;
  font-size: 18px;
}

/* Framework icons */
body.home .ph-card-icon{
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 6px;
  color: #444;
}

body.home .ph-card-icon svg{
  width: 52px !important;
  height: 52px !important;
  max-width: 52px !important;
  max-height: 52px !important;
  display: block !important;
}

body.home .ph-card-self .ph-card-icon{
  margin-bottom: 6px;
}

body.home .ph-card-self .ph-card-icon svg{
  width: 56px !important;
  height: 56px !important;
  max-width: 56px !important;
  max-height: 56px !important;
}

/* Center framework bottom cards */
body.home .ph-framework-bottom .ph-card,
body.home .ph-framework-bottom .ph-card h3,
body.home .ph-framework-bottom .ph-card p{
  text-align: center;
}

/* ============================= */
/* TABLET                        */
/* ============================= */

@media (max-width: 1200px){
  body.home .ph-hero{
    height: 560px;
    background-position: left top, calc(100% + 36px) center;
    background-size: auto, 590px auto;
  }

  body.home .ph-hero__inner{
    width: 100%;
    max-width: 1100px;
    padding: 102px 36px 0;
  }

  body.home .ph-hero__content{
    width: 560px;
    max-width: 560px;
  }

  body.home .ph-hero__title{
    font-size: 56px;
    max-width: 560px;
  }

  body.home .ph-hero__subhead{
    width: 500px;
    max-width: 500px;
    font-size: 18px;
  }
}

/* ============================= */
/* SMALLER TABLET                */
/* ============================= */

@media (max-width: 900px){
  body.home .ph-framework{
    padding: 75px 0 82px;
  }

  body.home .ph-framework-intro{
    font-size: 19px;
    margin: 0 auto 34px;
  }

  body.home .ph-framework-connectors{
    width: min(88%, 960px);
    margin: 0 auto 22px;
  }

  body.home .ph-framework-bottom{
    grid-template-columns: 1fr;
  }

  body.home .ph-hero{
    height: 500px;
    background-position: left top, calc(100% + 24px) center;
    background-size: auto, 480px auto;
  }

  body.home .ph-hero__inner{
    width: 100%;
    max-width: 100%;
    padding: 82px 28px 0;
  }

  body.home .ph-hero__content{
    width: 430px;
    max-width: 430px;
  }

  body.home .ph-hero__title{
    font-size: 46px;
    max-width: 430px;
  }

  body.home .ph-hero__subhead{
    width: 390px;
    max-width: 390px;
    font-size: 17px;
  }
}

/* ============================= */
/* MOBILE                        */
/* ============================= */

@media (max-width: 700px){
  body.home .ph-hero{
    height: auto;
    min-height: 0;
    background: #f5f3ef;
  }

  body.home .ph-hero__mobile-image{
    display: block;
    width: 100%;
    height: 360px;
    background:
      linear-gradient(
        180deg,
        rgba(245,243,239,0) 55%,
        rgba(245,243,239,0.35) 74%,
        rgba(245,243,239,0.88) 90%,
        rgba(245,243,239,1) 100%
      ),
      url("https://plastichuman.com/wp-content/uploads/2026/03/nico-hero2-1-scaled.jpg");
    background-repeat: no-repeat, no-repeat;
    background-position: center 18%, center 18%;
    background-size: cover, cover;
  }

  body.home .ph-hero__inner{
    width: 100%;
    max-width: 100%;
    padding: 30px 22px 56px;
  }

  body.home .ph-hero__content{
    width: 100%;
    max-width: 100%;
  }

  body.home .ph-hero__title{
    font-size: 34px;
    line-height: 1.08;
    max-width: 100%;
  }

  body.home .ph-hero__subhead{
    width: 100%;
    max-width: 100%;
    font-size: 17px;
    line-height: 1.55;
  }

  body.home .ph-hero__btn{
    min-width: 0;
    width: auto;
    font-size: 17px;
    padding: 14px 22px;
  }

  body.home .ph-framework{
    padding: 64px 0 72px;
  }

  body.home .ph-framework h2{
    font-size: 34px;
    margin-bottom: 14px;
  }

  body.home .ph-framework-intro{
    font-size: 17px;
    line-height: 1.6;
    margin: 0 auto 28px;
    padding: 0 8px;
  }

  body.home .ph-card-self{
    width: 100%;
    text-align: center;
    padding: 28px;
  }

  body.home .ph-framework-connectors{
    display: none;
  }

  body.home .ph-framework-bottom{
    grid-template-columns: 1fr;
    gap: 16px;
  }

  body.home .ph-card h3{
    font-size: 28px;
  }

  body.home .ph-card p{
    font-size: 17px;
  }

  body.home .ph-card-icon{
    margin-bottom: 6px;
  }

  body.home .ph-card-icon svg{
    width: 44px;
    height: 44px;
  }

  body.home .ph-card-self .ph-card-icon svg{
    width: 48px;
    height: 48px;
  }
}
/* ============================= */
/* CONTENT PAGE INTRO / TOPICS   */
/* ============================= */

body.blog .ph-content-intro,
body.archive .ph-content-intro{
  padding: 36px 0 28px;
  background: #f7f7f7;
}

body.blog .ph-content-intro__header,
body.archive .ph-content-intro__header{
  max-width: 820px;
  margin: 0 auto 30px;
  text-align: center;
}

body.blog .ph-content-intro__title,
body.archive .ph-content-intro__title{
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 52px;
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.3px;
}

body.blog .ph-content-intro__text,
body.archive .ph-content-intro__text{
  margin: 0;
  font-size: 19px;
  line-height: 1.7;
  color: rgba(0,0,0,.68);
}

body.blog .ph-topic-grid,
body.archive .ph-topic-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 26px;
}

body.blog .ph-topic-card,
body.archive .ph-topic-card{
  display: block;
  position: relative;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  padding: 26px 24px 28px;
  transition: all .22s ease;
}

body.blog .ph-topic-card:hover,
body.archive .ph-topic-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0,0,0,.08);
  border-color: rgba(99,25,173,.28);
}

body.blog .ph-topic-card__title,
body.archive .ph-topic-card__title{
  display: block;
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.1;
  color: #222;
  font-weight: 500;
  transition: color .2s ease;
}

body.blog .ph-topic-card__desc,
body.archive .ph-topic-card__desc{
  display: block;
  color: rgba(0,0,0,.66);
  line-height: 1.6;
  font-size: 15px;
}
body.blog .ph-topic-card:hover .ph-topic-card__title,
body.archive .ph-topic-card:hover .ph-topic-card__title{
  color: #6319ad;
}
@media (max-width: 1100px){
  body.blog .ph-topic-grid,
  body.archive .ph-topic-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px){
  body.blog .ph-content-intro,
  body.archive .ph-content-intro{
    padding: 30px 0 18px;
  }

  body.blog .ph-content-intro__title,
  body.archive .ph-content-intro__title{
    font-size: 40px;
  }

  body.blog .ph-content-intro__text,
  body.archive .ph-content-intro__text{
    font-size: 17px;
  }

  body.blog .ph-topic-grid,
  body.archive .ph-topic-grid{
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body.blog .ph-topic-card,
  body.archive .ph-topic-card{
    padding: 20px 18px;
  }

  body.blog .ph-topic-card__title,
  body.archive .ph-topic-card__title{
    font-size: 26px;
  }
}
body.blog #toolbar,
body.archive #toolbar{
  margin-top: 4px;
  margin-bottom: 28px;
}
#toolbar strong{
  opacity: .65;
  font-weight: 500;
}
.post-card .post-category,
.masonry-card .post-category,
.grid-card .post-category,
.card .post-category,
.post .post-category{
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
