/* TTP Post Templates v1.0.0 */
.ttp-post-template,
.ttp-post-template *{
  box-sizing:border-box;
}

.ttp-post-template{
  --ttp-post-blue:#2563eb;
  --ttp-post-teal:#0f766e;
  --ttp-post-rose:#be123c;
  --ttp-post-amber:#f59e0b;
  --ttp-post-ink:#172033;
  --ttp-post-muted:#536275;
  --ttp-post-line:#dbe3ef;
  max-width:760px;
  margin:0 auto;
  color:var(--ttp-post-ink);
  font-family:inherit;
}

.ttp-post-template.alignwide{
  max-width:980px;
}

.ttp-post-template p{
  color:#202b3a;
  font-size:1.03rem;
  line-height:1.72;
}

.ttp-post-template .ttp-post-lead{
  margin-top:24px;
  color:#172033;
  font-size:1.12rem;
  line-height:1.72;
}

.ttp-post-feature-image{
  position:relative;
  max-width:420px;
  margin:0 auto 26px;
  padding:10px;
  border:1px solid rgba(37,99,235,.16);
  border-radius:8px;
  background:
    linear-gradient(135deg, rgba(37,99,235,.10), rgba(15,118,110,.08)),
    #fff;
  box-shadow:0 18px 42px rgba(15,23,42,.13);
}

.ttp-post-feature-image:before{
  content:"";
  position:absolute;
  inset:7px;
  border:1px solid rgba(255,255,255,.72);
  border-radius:6px;
  pointer-events:none;
}

.ttp-post-feature-image img{
  display:block;
  width:100%;
  height:auto;
  border-radius:6px;
}

.ttp-post-snapshot,
.ttp-post-location-band,
.ttp-post-pull-note,
.ttp-post-closing-note{
  position:relative;
  margin:24px auto;
  padding:18px;
  border:1px solid var(--ttp-post-line);
  border-radius:8px;
  background:#fff;
  box-shadow:0 14px 32px rgba(15,23,42,.08);
}

.ttp-post-snapshot{
  border-color:rgba(37,99,235,.24);
  background:
    linear-gradient(135deg, rgba(37,99,235,.10), rgba(15,118,110,.06) 58%, rgba(255,255,255,0)),
    #fff;
}

.ttp-post-snapshot:before,
.ttp-post-location-band:before,
.ttp-post-closing-note:before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:5px;
  border-radius:8px 0 0 8px;
  background:linear-gradient(180deg, var(--ttp-post-blue), var(--ttp-post-teal));
}

.ttp-post-snapshot h3,
.ttp-post-location-band h3{
  margin:0 0 12px;
  color:var(--ttp-post-ink);
  font-size:1.25rem;
  line-height:1.2;
  letter-spacing:0;
}

.ttp-post-snapshot ul{
  display:grid;
  gap:9px;
  margin:0;
  padding:0;
  list-style:none;
}

.ttp-post-snapshot li{
  position:relative;
  min-height:28px;
  padding:7px 10px 7px 30px;
  border:1px solid rgba(37,99,235,.12);
  border-radius:8px;
  background:rgba(255,255,255,.72);
  color:#334155;
  line-height:1.42;
}

.ttp-post-snapshot li:before{
  content:"";
  position:absolute;
  left:11px;
  top:14px;
  width:8px;
  height:8px;
  border-radius:50%;
  background:linear-gradient(135deg, var(--ttp-post-blue), var(--ttp-post-teal));
  box-shadow:0 0 0 4px rgba(37,99,235,.10);
}

.ttp-post-divider{
  width:100%;
  height:1px;
  margin:34px auto;
  border:0;
  background:linear-gradient(90deg, transparent, rgba(37,99,235,.45), rgba(15,118,110,.32), transparent);
}

.ttp-post-section-title{
  position:relative;
  margin:0 0 14px;
  padding-left:15px;
  color:var(--ttp-post-ink);
  font-size:1.55rem;
  line-height:1.18;
  letter-spacing:0;
}

.ttp-post-section-title:before{
  content:"";
  position:absolute;
  left:0;
  top:.15em;
  bottom:.12em;
  width:5px;
  border-radius:999px;
  background:linear-gradient(180deg, var(--ttp-post-rose), var(--ttp-post-amber));
}

.ttp-post-pull-note{
  padding-left:20px;
  border-color:rgba(190,18,60,.22);
  background:
    linear-gradient(135deg, rgba(190,18,60,.08), rgba(245,158,11,.08)),
    #fff;
}

.ttp-post-pull-note p,
.ttp-post-closing-note p{
  margin:0;
}

.ttp-post-location-band{
  border-color:rgba(15,118,110,.24);
  background:
    linear-gradient(135deg, rgba(15,118,110,.10), rgba(37,99,235,.06)),
    #fff;
}

.ttp-post-location-band > p{
  margin-bottom:16px;
  color:var(--ttp-post-muted);
  font-size:.98rem;
}

.ttp-post-location-band .ttp-address-plugin-styles-scope{
  margin:14px 0 0;
}

.ttp-post-template .ttp-styled-gallery{
  margin-top:18px;
  margin-bottom:22px;
}

.ttp-post-closing-note{
  border-color:rgba(37,99,235,.18);
  background:
    linear-gradient(135deg, rgba(37,99,235,.08), rgba(255,255,255,0)),
    #fff;
}

@media (min-width: 860px){
  .ttp-post-template .ttp-post-lead{
    font-size:1.17rem;
  }

  .ttp-post-snapshot ul{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px){
  .ttp-post-template{
    padding:0 4px;
  }

  .ttp-post-feature-image{
    max-width:320px;
    padding:8px;
  }

  .ttp-post-snapshot,
  .ttp-post-location-band,
  .ttp-post-pull-note,
  .ttp-post-closing-note{
    padding:15px;
  }

  .ttp-post-template p{
    font-size:1rem;
  }

  .ttp-post-template .ttp-post-lead{
    font-size:1.06rem;
  }

  .ttp-post-section-title{
    font-size:1.35rem;
  }
}
