
:root{
  --tb-navy:#0b2349;
  --tb-navy2:#071b3a;
  --tb-gold:#c79743;
  --tb-cream:#f8f0e5;
  --tb-cream2:#f3e8d8;
  --tb-ink:#102548;
  --tb-line:#d8b36f;
}
.tb-breed-wrap{
  width:1024px;
  margin:0 auto;
  background:linear-gradient(180deg,#fbf7f0 0%,#f5eadc 100%);
  color:var(--tb-ink);
  font-family:Arial,Helvetica,sans-serif;
  overflow:hidden;
}
.tb-breed-header{
  display:grid;
  grid-template-columns:220px 1fr;
  min-height:178px;
  align-items:start;
}
.tb-breed-logo{padding:0 0 0 10px}
.tb-breed-logo img{display:block;width:210px;height:176px;object-fit:contain}
.tb-breed-nav{
  display:flex;justify-content:flex-end;gap:27px;align-items:center;
  padding:38px 12px 0;flex-wrap:nowrap;white-space:nowrap;
}
.tb-breed-nav a{color:#172942;text-decoration:none;font-size:13px;font-weight:700}
.tb-breed-apply{background:var(--tb-navy);color:white!important;padding:9px 14px;border-radius:5px}
.tb-breed-hero{
  display:grid;
  grid-template-columns:38% 62%;
  min-height:445px;
}
.tb-breed-copy{
  display:flex;flex-direction:column;justify-content:center;text-align:center;
  padding:25px 28px 25px 34px;
}
.tb-breed-eyebrow{
  font-family:Georgia,"Times New Roman",serif;
  color:#9d6c22;font-size:22px;margin:0 0 4px;
}
.tb-breed-title{
  font-family:Georgia,"Times New Roman",serif;
  color:var(--tb-navy);font-size:56px;line-height:.9;font-weight:500;margin:0 0 12px;
}
.tb-breed-rule{height:1px;width:72%;margin:5px auto 9px;background:var(--tb-line)}
.tb-breed-tagline{
  font-family:"Brush Script MT","Segoe Script",cursive;
  font-size:20px;margin:0 0 12px;color:#24364f;
}
.tb-breed-intro{font-size:15px;line-height:1.5;margin:0 auto 14px;max-width:315px}
.tb-breed-button{
  align-self:center;background:var(--tb-navy);color:#fff;padding:10px 17px;
  border-radius:4px;font-size:14px;font-weight:700;
}
.tb-edit-image{
  position:relative;
  border:0;padding:0;margin:0;background:var(--tb-cream);
  width:100%;height:100%;overflow:hidden;cursor:pointer;
}
.tb-edit-image img{
  display:block;width:100%;height:100%;object-fit:contain;background:var(--tb-cream);
}
.tb-edit-image:hover:after{
  content:"Replace";
  position:absolute;right:8px;bottom:8px;
  background:rgba(11,35,73,.9);color:#fff;border-radius:4px;
  padding:5px 8px;font:700 12px Arial,sans-serif;
}
.tb-breed-hero-image{height:445px}
.tb-breed-section{padding:15px 23px 0}
.tb-breed-section-title{
  display:flex;align-items:center;justify-content:center;gap:14px;
  font-family:Georgia,"Times New Roman",serif;font-size:29px;
  color:var(--tb-navy);margin:0 0 14px;
}
.tb-breed-section-title:before,.tb-breed-section-title:after{
  content:"";height:1px;background:var(--tb-line);flex:1;max-width:290px
}
.tb-breed-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.tb-breed-card{
  border:1px solid #cfa867;border-radius:4px;overflow:hidden;background:#f9f1e6;
  min-height:385px;
}
.tb-breed-card-title{
  background:var(--tb-navy);color:#fff;text-align:center;
  padding:10px 5px;font:700 16px Georgia,"Times New Roman",serif
}
.tb-breed-card-image{height:182px}
.tb-breed-card-copy{font-size:13px;line-height:1.45;text-align:center;padding:12px 17px 8px;min-height:88px}
.tb-breed-card-script{
  font-family:"Brush Script MT","Segoe Script",cursive;
  color:#263a55;font-size:18px;text-align:center;padding:8px 8px 13px;
}
.tb-breed-banner{
  width:69%;margin:14px auto 12px;background:var(--tb-navy);color:#fff;
  border-radius:6px;padding:12px 24px;text-align:center;
  font-family:Georgia,"Times New Roman",serif;font-size:17px;line-height:1.25;
}
.tb-breed-banner-script{
  display:block;color:#e1aa48;font-family:"Brush Script MT","Segoe Script",cursive;
  font-size:20px;margin-top:4px;
}
.tb-breed-extra{
  display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:0 23px 12px;
}
.tb-breed-extra-box{
  border:1px solid #d2b277;border-radius:5px;padding:18px 22px;text-align:center;background:#faf3e8;
}
.tb-breed-extra-box.dark{background:var(--tb-navy);color:#fff}
.tb-breed-extra-title{
  font-family:"Brush Script MT","Segoe Script",cursive;font-size:26px;margin:0 0 10px
}
.tb-breed-extra-copy{font-size:14px;line-height:1.5;margin:0}
.tb-breed-gallery{padding:0 20px 10px}
.tb-breed-gallery-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
.tb-breed-gallery-grid .tb-edit-image{height:145px;border:1px solid #cda664;border-radius:4px}
.tb-breed-footer{background:var(--tb-navy);color:#fff;padding:20px 28px 14px}
.tb-breed-footer-grid{display:grid;grid-template-columns:1.05fr 1.2fr 1.45fr 115px;gap:24px}
.tb-breed-brand{font-family:Georgia,"Times New Roman",serif;font-size:17px;line-height:1.15}
.tb-breed-brand strong{display:block;font-family:"Brush Script MT","Segoe Script",cursive;font-size:29px;font-weight:400}
.tb-breed-footer h3{font:700 18px Georgia,"Times New Roman",serif;margin:0 0 8px}
.tb-breed-footer p{font-size:12px;line-height:1.5;margin:0}
.tb-breed-badge{
  width:110px;height:110px;border-radius:50%;background:#f5e7cf;color:var(--tb-navy);
  border:2px solid #ccb68e;display:flex;align-items:center;justify-content:center;
  text-align:center;font-size:10px;font-weight:700;
}
.tb-breed-copyright{text-align:center;font-size:11px;margin-top:10px}

/* Gutenberg editor: keep the desktop page intact and horizontally scroll on iPad. */
.editor-styles-wrapper{overflow-x:auto!important;background:#ececec!important;padding:18px!important}
.editor-styles-wrapper .is-root-container{
  width:1060px!important;min-width:1060px!important;max-width:1060px!important;margin:0 auto!important
}
.editor-styles-wrapper .tb-breed-wrap{width:1024px!important;min-width:1024px!important}
.editor-styles-wrapper [contenteditable="true"]:focus{outline:2px dashed #3858e9;outline-offset:2px}
.editor-styles-wrapper .tb-edit-image{outline:1px solid transparent}
.editor-styles-wrapper .tb-edit-image:focus{outline:4px solid #3858e9;outline-offset:-4px}

/* Responsive front end only. */
@media(max-width:760px){
  body:not(.block-editor-page) .tb-breed-wrap{width:100%}
  body:not(.block-editor-page) .tb-breed-header{grid-template-columns:1fr}
  body:not(.block-editor-page) .tb-breed-logo{margin:auto}
  body:not(.block-editor-page) .tb-breed-nav{justify-content:center;flex-wrap:wrap;gap:13px;padding:8px 12px 18px}
  body:not(.block-editor-page) .tb-breed-hero{grid-template-columns:1fr}
  body:not(.block-editor-page) .tb-breed-cards{grid-template-columns:1fr}
  body:not(.block-editor-page) .tb-breed-extra{grid-template-columns:1fr}
  body:not(.block-editor-page) .tb-breed-gallery-grid{grid-template-columns:repeat(3,1fr)}
  body:not(.block-editor-page) .tb-breed-footer-grid{grid-template-columns:1fr 1fr}
}

.tb-selected-image{outline:4px solid #3858e9!important;outline-offset:-4px!important}
.tb-breed-photo-controls{
  width:100%;
  background:#fff;
  color:#102548;
  border-top:4px solid #0b2349;
  padding:18px 22px 22px;
  box-sizing:border-box;
  font-family:Arial,Helvetica,sans-serif;
}
.tb-breed-photo-controls h3{margin:0 0 14px;font-size:20px;color:#0b2349}
.tb-breed-control-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;align-items:end}
.tb-breed-control-help{margin:12px 0 0;font-size:13px;font-weight:700}
.tb-edit-image img{max-width:none!important;max-height:none!important}
@media(max-width:700px){.tb-breed-control-grid{grid-template-columns:1fr}}
