/*
Theme Name: Policy Circle Migration
Description: WordPress adaptation of the Policy Circle Netlify site.
Version: 1.0.9
Requires at least: 6.0
Text Domain: policycircle
*/
.pc-inner-page { padding-top: 88px; min-height: 65vh; }
.pc-inner-page .categories-grid { justify-content: center; }
.hero-3d-hint, .hero-3d-canvas { display: none !important; }
#heroQuoteForm .pc-insurance-fields[hidden] { display: none !important; }
#heroQuoteForm .pc-insurance-fields { border-top: 1px solid #e2e8f0; padding-top: 1.15rem; margin-top: .4rem; }
#heroQuoteForm .pc-form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
#heroQuoteForm .pc-check-list { display: flex; flex-wrap: wrap; gap: .5rem .9rem; color: #1e293b; font-size: .9rem; }
#heroQuoteForm .pc-check-list label { display: inline-flex; align-items: center; gap: .35rem; cursor: pointer; }
#heroQuoteForm .pc-check-list input { accent-color: #2563eb; }
#heroQuoteForm .pc-query-textarea { min-height: 82px; resize: vertical; padding: .75rem 1rem; }
#heroQuoteForm select.form-control { appearance: auto; padding-left: 1rem; }
#heroQuoteForm input[type=date].form-control { padding-left: 1rem; }
#heroQuoteForm .pc-required { color: #ef4444; }
.hero-quote-card { max-height: min(82vh, 790px); overflow-y: auto; scrollbar-width: thin; }
@media(max-width: 640px) { .hero-quote-card { max-height: none; overflow: visible; } #heroQuoteForm .pc-form-pair { grid-template-columns: 1fr 1fr; } }
/* Elementor's image reset removes the circular mask from advisor portraits. */
#experts .expert-avatar-wrap { overflow: hidden; }
#experts .expert-avatar-wrap > img.expert-avatar-img {
  width: 100%; height: 100%; border-radius: 50%;
  border: 3px solid #fff; object-fit: cover;
}
@media (min-width: 1101px) {
  #experts .experts-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.5rem; }
  #experts .expert-card { grid-column: span 2; }
  #experts .expert-card:nth-child(4) { grid-column: 2 / span 2; }
  #experts .expert-card:nth-child(5) { grid-column: 4 / span 2; }
}
@media (min-width: 769px) and (max-width: 1100px) {
  #experts .experts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #experts .expert-card:nth-child(5) { grid-column: 1 / -1; width: min(100%, 400px); justify-self: center; }
}
.partner-marquee-card {
  background: #fff; border: 1px solid var(--border-light);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-md);
  padding: 2rem 0 1.25rem; overflow: hidden;
}
.partner-marquee-viewport {
  width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}
.partner-marquee-track {
  display: flex; width: max-content;
  animation: policycircle-partner-scroll 105s linear infinite;
  will-change: transform;
}
.partner-logo-group { display: flex; align-items: center; flex: none; gap: 14px; padding-right: 14px; }
.partner-logo-tile {
  display: block; flex: 0 0 160px; width: 160px; height: 75px;
  background-image: url('https://policycircle.in/wp-content/uploads/2026/09/partners_grid.png');
  background-size: 1120px 450px; background-repeat: no-repeat;
}
.partner-marquee-card .partners-trust-strip { margin: 1.5rem 2rem 0; }
@keyframes policycircle-partner-scroll { to { transform: translateX(-50%); } }
@media (max-width: 768px) {
  .partner-marquee-card { padding: 1.25rem 0 1rem; }
  .partner-marquee-track { animation-duration: 125s; }
  .partner-marquee-card .partners-trust-strip { margin: 1rem 1rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  .partner-marquee-viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .partner-marquee-track { animation: none; }
}
