/*
Theme Name: Cristero Corner
Version: 1.1.0
*/

:root{
  --cc-blue:#102a43;
  --cc-blue-dark:#071225;
  --cc-blue-2:#1f4e79;
  --cc-gold:#c8a24a;
  --cc-red:#b00020;
  --cc-ink:#18212f;
  --cc-muted:#667085;
  --cc-line:#e5e7eb;
  --cc-bg:#f6f7f9;
  --cc-card:#ffffff;
  --cc-radius:18px;
  --cc-shadow:0 12px 28px rgba(16,42,67,.09);
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:Inter,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  background:var(--cc-bg);
  color:var(--cc-ink);
  line-height:1.55;
}

a{
  color:inherit;
  text-decoration:none;
}

a:hover{
  text-decoration:underline;
}

.cc-container{
  width:min(1180px,calc(100% - 32px));
  margin:0 auto;
}

/* HERO */

.cc-hero{
  background:#ffffff;
  border-bottom:1px solid var(--cc-line);
  padding:14px 0 10px;
}

.cc-hero-brand{
  display:flex;
  justify-content:center;
  align-items:center;
  width:100%;
}

.cc-hero-brand-image{
  display:block;
  width:100%;
  max-width:620px;
  height:auto;
  margin:0 auto;
}

/* QUICK LINKS */

.cc-quicklinks-wrap{
  background:#ffffff;
  padding:12px 0 14px;
  border-bottom:1px solid var(--cc-line);
}

.cc-section-label{
  display:none;
}

.cc-quicklinks,
.cc-quicklinks-bar{
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:0;
  width:100%;
  background:var(--cc-blue-dark);
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 10px 22px rgba(16,24,40,.14);
}

.cc-quicklink{
  min-height:76px;
  padding:12px 8px;
  background:transparent;
  color:#ffffff;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  text-align:center;
  font-size:.78rem;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.02em;
  border-right:1px solid rgba(255,255,255,.08);
}

.cc-quicklink:last-child{
  border-right:0;
}

.cc-quicklink:hover{
  background:var(--cc-blue-2);
  text-decoration:none;
}

.cc-quicklink .dashicons{
  display:block;
  font-size:24px;
  width:24px;
  height:24px;
  color:#ffffff;
}

/* SEARCH + AUDIENCE FILTERS */

.cc-search-filter-wrap{
  background:#f6f7f9;
  padding:16px 0 20px;
}

.cc-search-filter-wrap .cc-container{
  display:flex;
  flex-direction:column;
  align-items:center;
}

.cc-search{
  width:min(940px,100%);
  display:flex;
  gap:10px;
  background:#ffffff;
  border:1px solid var(--cc-line);
  border-radius:999px;
  padding:8px;
  box-shadow:var(--cc-shadow);
  margin:0 auto 14px;
}

.cc-search input{
  border:0;
  outline:0;
  font-size:1rem;
  flex:1;
  padding:12px 14px;
  background:transparent;
  min-width:0;
}

.cc-search button,
.cc-button{
  border:0;
  border-radius:999px;
  background:var(--cc-blue);
  color:#ffffff;
  padding:12px 22px;
  font-weight:800;
  cursor:pointer;
  white-space:nowrap;
}

.cc-search button:hover,
.cc-button:hover{
  background:var(--cc-blue-2);
  text-decoration:none;
}

.cc-audience-chips{
  width:100%;
  max-width:1040px;
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px;
  margin:0 auto;
}

.cc-chip{
  border:1px solid #d0d5dd;
  background:#ffffff;
  color:#18212f;
  border-radius:999px;
  padding:8px 14px;
  font-weight:800;
  font-size:.88rem;
  white-space:nowrap;
  box-shadow:0 4px 10px rgba(16,42,67,.04);
}

.cc-chip:hover{
  text-decoration:none;
  border-color:var(--cc-blue-2);
}

.cc-chip-active{
  background:var(--cc-blue);
  color:#ffffff;
  border-color:var(--cc-blue);
}

/* ACTION REQUIRED */

.cc-action-strip-wrap{
  background:#ffffff;
  padding:10px 0 0;
}

.cc-action-strip{
  background:linear-gradient(90deg,#fff8e8,#ffffff);
  border:1px solid var(--cc-line);
  border-radius:18px;
  box-shadow:var(--cc-shadow);
  overflow:hidden;
}

.cc-strip-head{
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--cc-red);
  text-transform:uppercase;
  font-weight:950;
  letter-spacing:.03em;
  padding:15px 22px;
  border-bottom:1px solid #f0dcae;
}

.cc-strip-head b{
  display:inline-grid;
  place-items:center;
  width:30px;
  height:30px;
  border-radius:50%;
  background:var(--cc-red);
  color:#ffffff;
}

.cc-strip-items{
  display:grid;
  grid-template-columns:repeat(3,1fr);
}

.cc-strip-item{
  display:flex;
  gap:14px;
  align-items:center;
  padding:20px 22px;
  border-right:1px solid var(--cc-line);
  background:#ffffff;
}

.cc-strip-item:last-child{
  border-right:0;
}

.cc-strip-item h3{
  margin:0;
  font-size:1.05rem;
  color:var(--cc-blue);
}

.cc-strip-item p{
  margin:0;
  color:var(--cc-red);
  font-weight:850;
}

.cc-icon{
  width:46px;
  height:46px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:var(--cc-red);
  color:#ffffff;
  font-weight:950;
  font-size:1.15rem;
  flex:0 0 auto;
}

/* MAIN */

.cc-main{
  padding:24px 0 54px;
}

.cc-dashboard{
  display:grid;
  grid-template-columns:minmax(0,1.9fr) minmax(310px,.9fr);
  gap:24px;
  align-items:start;
}

.cc-panel{
  background:var(--cc-card);
  border:1px solid var(--cc-line);
  border-radius:var(--cc-radius);
  box-shadow:var(--cc-shadow);
  padding:22px;
}

.cc-panel h2,
.cc-panel h3{
  margin:0 0 16px;
  color:var(--cc-blue);
  letter-spacing:-.025em;
}

.cc-tabs{
  display:flex;
  gap:28px;
  border-bottom:2px solid var(--cc-line);
  margin-bottom:20px;
  text-transform:uppercase;
  font-weight:950;
  color:var(--cc-blue);
  font-size:.92rem;
  letter-spacing:.02em;
}

.cc-tabs span{
  padding-bottom:12px;
}

.cc-tab-active{
  border-bottom:3px solid var(--cc-red);
  margin-bottom:-2px;
  color:var(--cc-red);
}

.cc-stream{
  display:grid;
  gap:14px;
}

.cc-post-card{
  padding:18px;
  border:1px solid var(--cc-line);
  border-radius:16px;
  background:#ffffff;
}

.cc-post-card h3{
  font-size:1.15rem;
  margin:0 0 6px;
  color:var(--cc-blue);
}

.cc-meta{
  font-size:.82rem;
  color:var(--cc-muted);
  font-weight:700;
  margin-bottom:8px;
}

.cc-excerpt{
  color:#475467;
  margin:0;
  font-size:.97rem;
}

.cc-side{
  display:grid;
  gap:18px;
}

/* SIDEBAR */

.cc-panel-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:16px;
}

.cc-panel-head h2,
.cc-panel-head h3{
  margin:0;
}

.cc-panel-head a{
  color:var(--cc-red);
  font-weight:850;
  font-size:.9rem;
}

.cc-list{
  display:grid;
  gap:12px;
}

.cc-mini{
  padding:14px;
  border-radius:14px;
  background:#ffffff;
  border:1px solid var(--cc-line);
}

.cc-mini h4{
  margin:0 0 5px;
  color:var(--cc-blue);
  font-size:1rem;
}

.cc-mini p{
  margin:0;
  color:#475467;
  font-size:.92rem;
}

.cc-events .cc-mini{
  border-left:4px solid var(--cc-blue-2);
}

.cc-contacts{
  background:#eff8ff;
}

.cc-contact-list{
  display:grid;
  border-top:1px solid #cfe7f8;
}

.cc-contact-list div{
  display:flex;
  justify-content:space-between;
  gap:14px;
  padding:12px 0;
  border-bottom:1px solid #cfe7f8;
}

.cc-contact-list span{
  font-weight:800;
  color:var(--cc-blue);
}

.cc-contact-list strong{
  font-size:.92rem;
  color:#344054;
  text-align:right;
}

.cc-contact-more{
  display:block;
  text-align:center;
  margin-top:16px;
  color:var(--cc-red);
  font-weight:900;
}

/* HIGHLIGHTS */

.cc-highlights{
  margin-top:24px;
}

.cc-highlight-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.cc-highlight-card{
  display:grid;
  grid-template-columns:120px 1fr;
  gap:14px;
  align-items:center;
}

.cc-highlight-card h3{
  margin:0 0 10px;
  font-size:1rem;
  color:var(--cc-blue);
}

.cc-highlight-thumb img{
  width:120px;
  height:86px;
  object-fit:cover;
  border-radius:12px;
}

.cc-read-more{
  color:var(--cc-red);
  font-weight:850;
  font-size:.9rem;
}

/* RESOURCES */

.cc-resources{
  margin-top:24px;
}

.cc-resource-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}

.cc-resource{
  background:#ffffff;
  border:1px solid var(--cc-line);
  border-radius:16px;
  padding:18px;
  font-weight:850;
  color:var(--cc-blue);
  box-shadow:0 8px 18px rgba(16,42,67,.06);
}

.cc-resource:hover{
  text-decoration:none;
  border-color:var(--cc-gold);
}

/* SINGLE POST / ANNOUNCEMENT */

.cc-single-post{
  max-width:100%;
}

.cc-single-featured-image{
  text-align:left;
  margin:20px 0 24px;
}

.cc-single-featured-image img,
.cc-single-post img.wp-post-image,
.cc-panel img.wp-post-image{
  max-width:500px !important;
  width:100% !important;
  height:auto !important;
  border-radius:12px;
  display:block !important;
  margin:20px 0 24px !important;
}

.cc-single-content{
  max-width:100%;
}

.cc-single-content p{
  font-size:1.05rem;
  line-height:1.65;
}

/* FOOTER */

.cc-footer{
  background:var(--cc-blue);
  color:#dbeafe;
  padding:26px 0;
}

.cc-footer-inner{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center;
  font-size:.92rem;
}

.cc-footer strong{
  color:#ffffff;
}

/* HELPERS */

.cc-empty{
  color:var(--cc-muted);
  font-style:italic;
  margin:0;
}

.screen-reader-text{
  position:absolute!important;
  height:1px;
  width:1px;
  overflow:hidden;
  clip:rect(1px,1px,1px,1px);
  white-space:nowrap;
}

/* RESPONSIVE */

@media(max-width:980px){
  .cc-dashboard{
    grid-template-columns:1fr;
  }

  .cc-quicklinks,
  .cc-quicklinks-bar{
    grid-template-columns:repeat(4,1fr);
  }

  .cc-strip-items,
  .cc-highlight-grid{
    grid-template-columns:1fr;
  }

  .cc-strip-item{
    border-right:0;
    border-bottom:1px solid var(--cc-line);
  }

  .cc-resource-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:640px){
  .cc-container{
    width:min(100% - 22px,1180px);
  }

  .cc-hero{
    padding-top:10px;
  }

  .cc-hero-brand-image{
    max-width:100%;
  }

  .cc-quicklinks,
  .cc-quicklinks-bar{
    grid-template-columns:repeat(2,1fr);
  }

  .cc-search{
    border-radius:18px;
    flex-direction:column;
  }

  .cc-search button{
    width:100%;
  }

  .cc-audience-chips{
    justify-content:flex-start;
  }

  .cc-resource-grid{
    grid-template-columns:1fr;
  }

  .cc-footer-inner{
    display:block;
  }

  .cc-single-featured-image img,
  .cc-single-post img.wp-post-image,
  .cc-panel img.wp-post-image{
    max-width:100% !important;
  }
}
.cc-newsletter-template{
  max-width:900px;
}

.cc-newsletter-template h3{
  color:var(--cc-blue);
  margin-top:22px;
  margin-bottom:6px;
}

.cc-newsletter-template ul{
  margin-top:6px;
  margin-bottom:14px;
}

.cc-newsletter-template img{
  max-width:260px;
  height:auto;
  border-radius:12px;
  margin:8px 10px 8px 0;
}
/* ==================================================
   Staff Directory
================================================== */

.cc-staff-directory{
  padding:32px 0 64px;
}

.cc-staff-directory-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-bottom:30px;
}

.cc-staff-directory-header h1{
  margin:0;
  color:var(--cc-blue);
  font-size:clamp(2rem,4vw,3rem);
  line-height:1.1;
}

.cc-staff-search{
  width:min(420px,100%);
}

.cc-staff-search input{
  width:100%;
  border:1px solid #d0d5dd;
  border-radius:999px;
  background:#ffffff;
  color:var(--cc-ink);
  font:inherit;
  padding:13px 18px;
  outline:none;
  box-shadow:0 6px 16px rgba(16,42,67,.06);
}

.cc-staff-search input:focus{
  border-color:var(--cc-blue-2);
  box-shadow:0 0 0 3px rgba(31,78,121,.12);
}

.cc-staff-division{
  margin-bottom:42px;
}

.cc-staff-division-title{
  margin:0 0 18px;
  padding-bottom:10px;
  border-bottom:2px solid var(--cc-line);
  color:var(--cc-blue);
  font-size:1.55rem;
  line-height:1.2;
}

.cc-staff-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
  gap:22px;
}

.cc-staff-card{
  overflow:hidden;
  background:var(--cc-card);
  border:1px solid var(--cc-line);
  border-radius:var(--cc-radius);
  box-shadow:0 9px 22px rgba(16,42,67,.08);
}

.cc-staff-card[hidden],
.cc-staff-division[hidden]{
  display:none;
}

.cc-staff-photo{
  aspect-ratio:4 / 5;
  background:#eef1f4;
  overflow:hidden;
}

.cc-staff-photo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
}

.cc-staff-photo-placeholder{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
  background:#e9edf2;
  color:var(--cc-blue);
  font-size:4rem;
  font-weight:800;
}

.cc-staff-card-content{
  padding:17px 18px 19px;
}

.cc-staff-name{
  margin:0 0 4px;
  color:var(--cc-blue);
  font-size:1.22rem;
  line-height:1.25;
}

.cc-staff-title{
  margin:0 0 10px;
  color:var(--cc-muted);
  font-weight:700;
}

.cc-staff-email{
  margin:0;
  font-size:.94rem;
  overflow-wrap:anywhere;
}

.cc-staff-email a{
  color:var(--cc-blue-2);
  text-decoration:underline;
  text-underline-offset:2px;
}

.cc-staff-empty{
  padding:28px;
}

#cc-staff-no-results{
  padding:28px;
  background:#ffffff;
  border:1px solid var(--cc-line);
  border-radius:var(--cc-radius);
  color:var(--cc-muted);
  font-weight:700;
}

@media(max-width:760px){
  .cc-staff-directory-header{
    align-items:flex-start;
    flex-direction:column;
  }

  .cc-staff-search{
    width:100%;
  }
}

@media(max-width:520px){
  .cc-staff-directory{
    padding:24px 0 48px;
  }

  .cc-staff-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
  }

  .cc-staff-photo{
    height:190px;
  }

  .cc-staff-card-content{
    padding:13px;
  }

  .cc-staff-name{
    font-size:1.05rem;
  }

  .cc-staff-title,
  .cc-staff-email{
    font-size:.83rem;
  }
}

@media(max-width:380px){
  .cc-staff-grid{
    grid-template-columns:1fr;
  }

  .cc-staff-photo{
    height:300px;
  }
}
.cc-internal-nav{
  margin-bottom:18px;
}

.cc-internal-nav a{
  color:var(--cc-blue-2);
  font-weight:800;
}

.cc-internal-nav a:hover{
  color:var(--cc-blue);
}