/* V124 — Resources directories and compact publication-style blog archives */
.resources-page-v123{background:#f4f4f2;color:#25272a}
.resources-page-v123 .page-hero{padding:24px 0 20px!important;background:#fff!important;border-bottom:1px solid #e2e2df}
.resources-page-v123 .page-hero h1{margin:2px 0 7px!important;font:650 clamp(1.85rem,2.35vw,2.35rem)/1.08 Inter,"Segoe UI",Arial,sans-serif!important;letter-spacing:-.035em;color:#242629!important}
.resources-page-v123 .page-hero p{max-width:900px;margin:0;color:#626568;font-size:.94rem;line-height:1.45}
.resources-page-v123 .resource-section{padding:18px 0 38px}
.resource-page-grid-v123{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.resource-card-v123{display:flex;flex-direction:column;min-height:178px;padding:17px;border:1px solid #d9d9d7;background:#fff;text-decoration:none;color:#25272a;transition:.16s ease}
.resource-card-v123:hover{transform:translateY(-2px);box-shadow:0 10px 25px rgba(0,0,0,.06);border-color:#c6c6c3}
.resource-card-v123>span{font-size:.64rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase;color:#b51f27}
.resource-card-v123 h2{font:650 1.1rem/1.18 Inter,"Segoe UI",Arial,sans-serif!important;margin:6px 0;color:#25272a!important}
.resource-card-v123 p{margin:0 0 10px;color:#626568;line-height:1.4;font-size:.84rem;flex:1}
.resource-card-v123 b{font-size:.74rem;color:#b51f27}
.resources-section-nav a[aria-current="page"]{background:#c3c6c8;color:#25282b;border-bottom:3px solid #d22630}
.resource-directory-head{display:flex;justify-content:space-between;gap:20px;align-items:end;margin:0 0 12px}
.resource-directory-head h2{font:650 clamp(1.25rem,1.8vw,1.65rem)/1.12 Inter,"Segoe UI",Arial,sans-serif!important;color:#25272a!important;margin:3px 0}
.resource-directory-head p{margin:0;color:#6d7073;max-width:700px;font-size:.86rem}
.resource-professional-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.resource-professional{background:#fff;border:1px solid #d9d9d7;padding:17px;min-height:160px}
.resource-professional h3{font:650 1.08rem/1.22 Inter,"Segoe UI",Arial,sans-serif!important;color:#25272a!important;margin:4px 0 6px}
.resource-professional .resource-role{color:#73767a;font-size:.75rem;margin-bottom:8px}
.resource-professional p{color:#5c6064;line-height:1.45;margin:7px 0;font-size:.84rem}
.resource-contact{display:flex;flex-wrap:wrap;gap:7px 12px;margin-top:11px;font-size:.76rem;font-weight:700}
.resource-contact a{color:#b51f27}
.resource-loading{color:#696c70;font-size:.86rem}
.resource-empty{grid-column:1/-1;padding:18px 20px;background:#fff;border:1px solid #d9d9d7;color:#666;font-size:.88rem;line-height:1.45}

/* Blog archive controls stay above the article grid. */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.resource-blog-controls{max-width:760px;margin:0 auto 16px}
.resource-blog-filter-row{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.resource-blog-filter-row.is-single{grid-template-columns:1fr;max-width:380px;margin-inline:auto}
.resource-blog-select{position:relative;display:block}
.resource-blog-select[hidden]{display:none!important}
.resource-blog-select select{appearance:none;-webkit-appearance:none;width:100%;height:43px;padding:0 42px 0 13px;border:1px solid #a6a7a9;border-radius:2px;background:#fff;color:#202d4a;font:700 .78rem/1 Inter,"Segoe UI",Arial,sans-serif;letter-spacing:.02em;cursor:pointer}
.resource-blog-select:after{content:"";position:absolute;right:15px;top:18px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:6px solid #202d4a;pointer-events:none}
.resource-audience-filters{display:flex;flex-wrap:wrap;justify-content:center;gap:5px;margin-top:8px}
.resource-audience-filters button{border:1px solid #c8c9cb;background:#fff;color:#4b4e53;border-radius:999px;padding:6px 10px;font:700 .66rem/1 Inter,"Segoe UI",Arial,sans-serif;cursor:pointer}
.resource-audience-filters button.is-active{border-color:#b51f27;color:#b51f27;background:#fff}
.resource-audience-filters.has-no-tags{display:none}

/* RealtyNinja-inspired structure at SER's smaller type scale. */
.resource-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px 20px;align-items:start}
.resource-post-card{background:#fff;border:1px solid #d9d9d7;display:flex;flex-direction:column;min-width:0;overflow:hidden}
.resource-post-image-link{display:block;background:#e9e9e7;aspect-ratio:16/9;overflow:hidden}
.resource-post-image{display:block;width:100%;height:100%;object-fit:cover;transition:transform .18s ease}
.resource-post-card:hover .resource-post-image{transform:scale(1.015)}
.resource-post-body{padding:14px 15px 15px;display:flex;flex-direction:column;min-height:220px}
.resource-post-topic{font-size:.62rem;font-weight:850;letter-spacing:.09em;text-transform:uppercase;color:#b51f27;margin-bottom:5px}
.resource-post-card h3{font:650 1.16rem/1.22 Inter,"Segoe UI",Arial,sans-serif!important;color:#25272a!important;margin:0 0 6px}
.resource-post-card h3 a{color:inherit;text-decoration:none}
.resource-post-card h3 a:hover{color:#b51f27}
.resource-post-card .resource-byline{color:#74777b;font-size:.7rem;line-height:1.35;margin-bottom:6px}
.resource-post-tags{display:flex;flex-wrap:wrap;gap:5px;margin:5px 0 6px}
.resource-post-tags span{display:inline-block;padding:4px 7px;border-radius:999px;background:#f1f1ef;color:#4c5054;font-size:.61rem;font-weight:750;line-height:1}
.resource-post-card p{color:#5c6064;line-height:1.48;margin:5px 0 10px;font-size:.88rem;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}
.resource-post-card a.resource-read{display:inline-block;margin-top:auto;color:#b51f27;font-size:.7rem;font-weight:850;letter-spacing:.06em;text-transform:uppercase;text-decoration:none}
.resource-older-wrap{text-align:center;margin-top:18px}
.resource-older{min-width:260px;max-width:100%;border:1px solid #8d8f92;border-radius:999px;background:#fff;color:#777b7f;padding:11px 22px;font:650 .78rem/1 Inter,"Segoe UI",Arial,sans-serif;cursor:pointer}
.resource-older:hover{border-color:#b51f27;color:#b51f27}

@media(max-width:1200px){
  .resources-section-nav{overflow-x:auto;-webkit-overflow-scrolling:touch}
  .resources-section-nav .container{width:max-content;min-width:100%;justify-content:flex-start}
  .resources-section-nav a{padding-inline:16px;font-size:.68rem}
  .resource-page-grid-v123{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
  .resource-page-grid-v123{grid-template-columns:repeat(2,minmax(0,1fr))}
  .resource-professional-grid,.resource-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  .resources-page-v123 .page-hero{padding:20px 0 17px!important}
  .resources-page-v123 .resource-section{padding:14px 0 28px}
  .resource-page-grid-v123,.resource-professional-grid,.resource-post-grid{grid-template-columns:1fr}
  .resource-card-v123{min-height:0}
  .resource-directory-head{display:block;margin-bottom:9px}
  .resource-directory-head p{margin-top:5px}
  .resource-blog-controls{margin:0 0 13px}
  .resource-blog-filter-row{grid-template-columns:1fr;gap:8px}
  .resource-blog-filter-row.is-single{max-width:none}
  .resource-blog-select select{height:42px;font-size:.76rem;padding-left:12px}
  .resource-audience-filters{justify-content:flex-start;gap:5px;margin-top:7px}
  .resource-audience-filters button{font-size:.64rem;padding:6px 9px}
  .resource-professional{padding:15px;min-height:0}
  .resource-post-body{padding:13px 14px 14px;min-height:0}
  .resource-post-card h3{font-size:1.1rem;line-height:1.22}
  .resource-post-card p{font-size:.86rem;line-height:1.46;-webkit-line-clamp:4}
  .resource-older{min-width:0;width:100%;font-size:.75rem;padding:11px 18px}
}
