/* Additional page templates, extending the approved shared design. */
.page-section{
  padding-block:60px 75px
}
.compact-top{
  padding-top:0
}
.narrow{
  max-width:850px
}
.dog-theme{
  background:#fff7eb
}
.dog-theme .eyebrow{
  color:#96621f
}
.axis-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:20px
}
.axis-card{
  position:relative;
  border:1px solid var(--line);
  border-radius:14px;
  padding:26px 23px;
  background:#fff;
  transition:border-color .2s,transform .2s
}
.axis-card:hover{
  border-color:var(--blue);
  transform:translateY(-3px)
}
.axis-card h3{
  font-size:18px;
  margin:12px 0
}
.axis-card p{
  font-size:13px;
  color:var(--muted);
  padding-bottom:30px
}
.axis-card>.icon{
  position:absolute;
  right:23px;
  bottom:22px;
  color:var(--blue)
}
.name-index{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  border:1px solid var(--line);
  border-radius:12px;
  padding:12px 20px;
  margin:22px 0 35px;
  gap:0 25px
}
.name-index a{
  padding:12px 0;
  border-bottom:1px solid #edf2f5;
  font-size:14px
}
.name-index a:hover{
  color:var(--blue)
}
.category-tile-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  margin-bottom:24px
}
.category-tile{
  border:1px solid var(--line);
  border-radius:10px;
  padding:20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  font-size:15px;
  background:#fff
}
.category-tile:hover{
  background:var(--sky);
  border-color:#9fc8e4
}
.category-tile>.icon{
  width:18px;
  height:18px;
  color:var(--blue)
}
.back-link{
  display:inline-flex;
  align-items:center;
  gap:20px;
  color:var(--blue);
  font-size:14px;
  margin-top:35px
}
.category-tile-grid+.sample-caption{
  margin-bottom:50px
}
.breed-intro h1{
  overflow-wrap:anywhere
}
.breed-intro .chips{
  max-width:500px
}
.catalog-results{
  min-width:0
}
#catalog-form .field-label{
  margin-top:19px
}
#catalog-form select{
  font-size:14px
}
.about-action{
  margin-top:24px
}
.axis-grid{
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr))
}
.editorial-detail h1,.editorial-card-content h3,.breed-intro h1{
  text-wrap:balance
}
/* Journal */
.category-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:25px
}
.category-tab{
  border:1px solid var(--line);
  padding:9px 24px;
  border-radius:30px;
  font-size:14px
}
.category-tab.active,.category-tab:hover{
  background:var(--blue);
  border-color:var(--blue);
  color:white
}
.editorial-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:28px
}
.editorial-card{
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  background:#fff
}
.editorial-card>a{
  display:block;
  height:100%
}
.editorial-card:hover h3{
  color:var(--blue)
}
.report-cover{
  background:#e6f2fb;
  color:#0863a9;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:space-between;
  min-height:235px;
  padding:26px 32px;
  border-bottom:1px solid #d2e6f5
}
.report-cover>span{
  font-size:12px;
  letter-spacing:.12em
}
.report-cover strong{
  font-size:42px;
  line-height:1.12;
  letter-spacing:.015em;
  padding:14px 0
}
.editorial-card:nth-child(even) .report-cover{
  background:#eef2f6;
  color:#445d72
}
.editorial-card-content{
  padding:27px 30px 30px
}
.tag{
  display:inline-block;
  font-size:12px;
  border:1px solid #d5e5f0;
  border-radius:4px;
  color:var(--blue);
  padding:3px 9px;
  background:#f3f9fc
}
.editorial-card-content h3{
  font-size:21px;
  margin:15px 0;
  line-height:1.75
}
.editorial-card-content>p{
  font-size:15px;
  line-height:1.9;
  color:var(--muted);
  margin-bottom:25px
}
.editorial-detail{
  padding-block:35px 65px
}
.editorial-detail header>.eyebrow{
  margin-top:22px
}
.editorial-detail h1{
  font-size:34px;
  line-height:1.7;
  margin:12px 0 20px;
  overflow-wrap:anywhere
}
.editorial-detail header>.muted{
  font-size:13px
}
.article-lead{
  font-size:17px;
  line-height:2.15;
  margin:38px 0
}
.report-feature{
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  margin:30px 0
}
.report-feature>div:last-child{
  padding:30px
}
.report-feature h2{
  font-size:23px
}
.report-feature p{
  margin:16px 0 23px;
  line-height:2;
  font-size:16px
}
.report-feature .report-cover{
  min-height:190px
}
.report-feature .report-cover strong{
  font-size:40px
}
.editorial-detail+.featured-section{
  margin-top:0
}
/* Search */
.search-controls{
  display:flex;
  gap:10px;
  margin-top:8px
}
.search-controls input{
  min-width:0;
  flex:1
}
.search-controls input,.search-controls select{
  border:1px solid #cbd8e1;
  border-radius:8px;
  padding:12px 15px;
  background:#fff;
  color:var(--ink);
  font-size:16px
}
.search-controls .button{
  white-space:nowrap;
  gap:7px
}
.search-summary{
  font-size:17px;
  margin:35px 0 8px
}
.search-summary strong{
  font-size:27px;
  color:var(--blue);
  margin-right:5px
}
.search-result{
  border-bottom:1px solid var(--line);
  padding:23px 0
}
.search-result>a{
  display:flex;
  align-items:center;
  gap:24px
}
.search-result img,.search-report-mark{
  width:150px;
  height:110px;
  border-radius:8px;
  object-fit:cover;
  flex:none
}
.search-result a>div:not(.search-report-mark){
  min-width:0;
  flex:1
}
.search-result h2{
  font-size:19px;
  margin:8px 0;
  line-height:1.7
}
.search-result p{
  font-size:13px;
  color:var(--muted);
  line-height:1.9
}
.search-result .icon{
  color:var(--blue)
}
.search-report-mark{
  display:grid;
  place-content:center;
  background:#e6f2fb;
  color:var(--blue);
  font-size:22px;
  letter-spacing:.07em;
  line-height:1.4
}
.pagination{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-top:35px
}
.pagination button{
  min-width:44px;
  min-height:44px;
  border:1px solid var(--line);
  border-radius:8px
}
.pagination button[aria-current],.pagination button:hover{
  background:var(--blue);
  color:#fff;
  border-color:var(--blue)
}
/* Editorial fixed pages and contact */
.prose h2{
  font-size:24px;
  margin:42px 0 18px
}
.prose h2:first-child{
  margin-top:0
}
.prose p{
  line-height:2.15;
  margin:18px 0;
  font-size:16px
}
.inline-actions{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:16px;
  margin-top:25px
}
.button-secondary{
  background:white;
  border:1px solid var(--blue);
  color:var(--blue)
}
.button-secondary:hover{
  color:white
}
.inline-link{
  text-decoration:underline;
  text-underline-offset:4px;
  color:var(--blue)
}
.draft-note{
  display:block;
  font-size:13px!important;
  line-height:1.85!important;
  color:var(--muted);
  margin-top:10px
}
.draft-notice{
  font-size:14px;
  line-height:1.9;
  background:#f3f7fa;
  border-left:3px solid #9db6c9;
  padding:18px 22px;
  margin-bottom:30px;
  color:#546b7c
}
.form-steps{
  display:flex;
  list-style:none;
  margin:35px 0;
  padding:0;
  border-bottom:1px solid var(--line)
}
.form-steps li{
  flex:1;
  color:var(--muted);
  padding:15px 10px;
  text-align:center;
  font-size:15px
}
.form-steps li.active{
  border-bottom:3px solid var(--blue);
  color:var(--blue);
  font-weight:700
}
.form-steps li span{
  font-size:12px;
  letter-spacing:.08em;
  margin-right:12px
}
.form-row{
  margin:27px 0
}
.form-row>label{
  display:flex;
  align-items:center;
  gap:12px;
  font-size:15px;
  font-weight:700;
  margin-bottom:10px
}
.required{
  font-size:11px;
  font-weight:400;
  color:#9a4139;
  background:#fff1ef;
  border-radius:4px;
  padding:1px 6px
}
.form-row input,.form-row select,.form-row textarea{
  display:block;
  width:100%;
  padding:12px 15px;
  border:1px solid #bfcdd8;
  border-radius:7px;
  background:#fff;
  color:var(--ink);
  font-size:16px
}
.form-row textarea{
  resize:vertical;
  min-height:160px
}
.form-row input[aria-invalid],.form-row select[aria-invalid],.form-row textarea[aria-invalid]{
  border-color:#b13d35;
  background:#fffafa
}
.field-help{
  font-size:12px;
  color:var(--muted);
  margin-top:5px
}
.field-error{
  font-size:13px;
  color:#a02b25;
  margin-top:6px;
  line-height:1.8
}
.field-error:empty{
  display:none
}
.form-errors{
  border:1px solid #d99a95;
  background:#fff5f4;
  padding:20px 24px;
  border-radius:8px;
  color:#922d27
}
.form-errors p{
  font-weight:700
}
.form-errors ul{
  margin-bottom:0;
  padding-left:20px
}
.form-errors a{
  text-decoration:underline;
  text-underline-offset:4px;
  font-size:14px
}
.consent-row{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin-top:30px
}
.consent-row input{
  margin:5px 0 0;
  width:20px;
  height:20px;
  flex:none;
  accent-color:var(--blue)
}
.consent-row label{
  font-size:14px;
  line-height:2
}
.contact-form>.button{
  margin-top:30px;
  min-width:280px
}
.completion{
  text-align:center;
  padding-block:70px 95px
}
.completion h1{
  font-size:30px;
  margin:18px 0
}
.completion>p{
  font-size:16px;
  line-height:2
}
.completion .inline-actions{
  justify-content:center
}
.completion-mark{
  width:72px;
  height:72px;
  border-radius:50%;
  background:var(--sky);
  color:var(--blue);
  font-size:35px;
  margin:25px auto;
  display:grid;
  place-items:center
}
.notice-box{
  text-align:left;
  border:1px solid var(--line);
  padding:25px 30px;
  border-radius:12px;
  margin:35px 0
}
.notice-box h2{
  font-size:19px;
  margin-bottom:10px
}
.notice-box p{
  font-size:15px;
  line-height:2
}
.error-number{
  font-size:110px!important;
  font-weight:800;
  color:var(--blue);
  letter-spacing:.03em;
  line-height:1.3!important
}
.error-guides{
  display:flex;
  justify-content:center;
  gap:30px;
  margin-top:45px;
  font-size:15px
}
.error-guides a{
  color:var(--blue);
  text-decoration:underline;
  text-underline-offset:5px
}
.inventory-group{
  margin-bottom:40px
}
.inventory-group h2{
  font-size:24px;
  margin-bottom:20px
}
.inventory-links{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px
}
.inventory-links>a{
  padding:20px;
  border:1px solid var(--line);
  border-radius:10px;
  font-size:14px
}
.inventory-links>a:hover{
  background:var(--sky)
}
.inventory-links small{
  display:block;
  font-size:12px;
  color:var(--muted);
  margin-top:10px;
  overflow-wrap:anywhere
}
.footer-links{
  max-width:660px
}
.footer-links a{
  font-size:13px
}
.about-strip .text-link{
  color:var(--blue)
}
@media(max-width:1050px){
  .axis-grid,.category-tile-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .inventory-links{
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .footer-links{
    max-width:560px
  }
}
@media(max-width:680px){
  .page-section{
    padding-block:35px 45px
  }
  .compact-top{
    padding-top:0
  }
  .axis-grid{
    gap:12px
  }
  .axis-card{
    padding:18px 16px
  }
  .axis-card h3{
    font-size:16px
  }
  .axis-card p{
    font-size:12px
  }
  .category-tile-grid{
    gap:10px
  }
  .category-tile{
    padding:15px 12px;
    font-size:13px;
    gap:6px
  }
  .category-tile .icon{
    width:14px;
    height:14px
  }
  .name-index{
    grid-template-columns:1fr;
    padding:10px 18px;
    gap:0
  }
  .name-index a{
    font-size:14px
  }
  .editorial-grid{
    grid-template-columns:1fr;
    gap:20px
  }
  .editorial-card-content{
    padding:22px
  }
  .editorial-card-content h3{
    font-size:19px
  }
  .report-cover{
    min-height:220px;
    padding:23px
  }
  .report-cover strong{
    font-size:37px
  }
  .editorial-detail{
    padding-block:20px 40px
  }
  .editorial-detail h1{
    font-size:25px;
    line-height:1.7
  }
  .article-lead{
    font-size:16px;
    margin:25px 0
  }
  .report-feature>div:last-child{
    padding:22px
  }
  .report-feature .report-cover strong{
    font-size:29px
  }
  .report-feature p{
    font-size:15px
  }
  .category-tab{
    font-size:13px;
    padding:8px 17px
  }
  .search-controls{
    flex-wrap:wrap;
    gap:8px
  }
  .search-controls input{
    flex-basis:100%;
    width:100%
  }
  .search-controls select{
    flex:1;
    width:140px
  }
  .search-result>a{
    gap:12px;
    align-items:flex-start
  }
  .search-result img,.search-report-mark{
    width:80px;
    height:80px;
    border-radius:6px
  }
  .search-report-mark{
    font-size:15px
  }
  .search-result h2{
    font-size:15px;
    margin-top:6px
  }
  .search-result p{
    font-size:12px
  }
  .search-result .icon{
    display:none
  }
  .search-result .tag{
    font-size:10px
  }
  .prose h2{
    font-size:21px;
    margin-top:32px
  }
  .prose p{
    font-size:15px
  }
  .draft-notice{
    font-size:13px;
    padding:15px 17px
  }
  .completion{
    padding-block:45px 60px
  }
  .completion h1{
    font-size:24px
  }
  .completion>p{
    font-size:15px
  }
  .notice-box{
    padding:21px
  }
  .contact-form>.button{
    min-width:0;
    width:100%;
    gap:10px;
    font-size:13px
  }
  .form-row{
    margin-block:24px
  }
  .form-steps li{
    font-size:13px;
    padding-inline:4px
  }
  .form-steps li span{
    margin-right:7px
  }
  .inventory-links{
    grid-template-columns:1fr
  }
  .error-number{
    font-size:88px!important
  }
  .error-guides{
    gap:22px
  }
  .category-tile-grid+.sample-caption{
    margin-bottom:35px
  }
  .filter-panel #catalog-form{
    display:flex;
    flex-direction:column;
    gap:6px
  }
  .filter-panel #catalog-form .field-label{
    margin-top:10px
  }
  .filter-panel #catalog-form select{
    font-size:16px
  }
  .filter-panel #catalog-form .filter-submit{
    margin-top:14px
  }
  .breed-intro h1{
    font-size:27px
  }
  .inventory-group h2{
    font-size:22px
  }
}
