/* Rochester Cards v1.1: homepage only. Load when post_content includes rc-home. */
/* Built for Blocksy Free, scoped to rc-home so WooCommerce/shop pages are untouched. */
.rc-home { max-width:1180px!important; width:calc(100% - 36px); margin:0 auto; color:#4F4B46; font-family:Arial,Helvetica,sans-serif; }
.rc-home > * { max-width:none!important; }
.rc-home, .rc-home * { box-sizing:border-box; }
.rc-home h1,.rc-home h2,.rc-home h3 { font-family:Georgia,'Times New Roman',serif!important; font-weight:400!important; letter-spacing:-.025em; color:#292823!important; }
.rc-home p { font-size:16px; line-height:1.75; margin:0 0 1.15em; color:#4F4B46; }
.rc-home a { text-decoration:none; }
.rc-home .rc-hero {padding:48px 48px 42px; border:1px solid #E9DFC9; border-radius:5px; background:#F7F3EA; margin:20px auto 20px;}
.rc-home .rc-hero .wp-block-columns { gap:54px; margin:0; align-items:center; }
.rc-home .rc-hero h1 { font-size:clamp(34px,3.6vw,54px)!important;line-height:1.14!important; margin:0 0 20px!important; }
.rc-home .rc-hero .rc-lead {font-size:17px; line-height:1.7;max-width:42ch; }
.rc-home .rc-hero .rc-actions {display:flex;flex-wrap:wrap;gap:12px;margin-top:28px;}
.rc-home .rc-hero .rc-note {font-size:12px; letter-spacing:.02em; color:#776d63; margin-top:25px;}
/* Image-only artwork. Avoid querying full product cards just for illustrations. */
.rc-home .rc-art-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start;}
.rc-home .rc-art-tile {display:block;min-width:0;padding:12px;background:#fff;border:1px solid #e9dfc9;box-shadow:0 10px 30px rgba(41,40,35,.09);border-radius:2px;transition:transform .2s,box-shadow .2s;}
.rc-home .rc-art-tile img {display:block;width:100%;height:auto;aspect-ratio:1 / 1;object-fit:contain;}
.rc-home .rc-art-grid--hero .rc-art-tile:first-child {transform:rotate(-2deg);}
.rc-home .rc-art-grid--hero .rc-art-tile:nth-child(2) {transform:translateY(23px) rotate(2deg);}
.rc-home .rc-art-grid--hero .rc-art-tile:focus-visible {outline:3px solid #A35C53;outline-offset:4px;}
.rc-home .rc-art-grid--hero .rc-art-tile:hover {box-shadow:0 14px 33px rgba(41,40,35,.15);}
.rc-home .rc-promise {padding:18px 12px 20px;margin:0 auto 58px;border-bottom:1px solid #E9DFC9;display:flex;align-items:center;justify-content:center;gap:10px 30px;flex-wrap:wrap;color:#45635A;font-size:13px;font-weight:600;}
.rc-home .rc-promise span::before {content:'✦';color:#A35C53;margin-right:11px;}
.rc-home .rc-section {margin:0 auto 65px;}
.rc-home .rc-section-heading {text-align:center;margin:0 auto 32px;max-width:650px;}
.rc-home .rc-section-heading h2 {font-size:clamp(28px,3vw,40px)!important;margin:0 0 12px!important;line-height:1.2!important;}
.rc-home .rc-section-heading p {font-size:15px;}
.rc-home .rc-collections {gap:24px;margin:0!important;}
.rc-home .rc-category {padding:17px 17px 22px;border:1px solid #E9DFC9;border-radius:4px;background:#fff;box-shadow:0 8px 25px rgba(41,40,35,.035);text-align:center;}
.rc-home .rc-category .rc-art-grid {display:block;margin:0 0 22px;}
.rc-home .rc-category .rc-art-tile {padding:12px;background:#F7F3EA;box-shadow:none;border:0;}
.rc-home .rc-category .rc-art-tile img {width:100%;height:auto;aspect-ratio:1.15 / 1;object-fit:contain;}
.rc-home .rc-category h3 {font-size:23px!important;margin:0 0 7px!important;line-height:1.3!important;}
.rc-home .rc-category p {font-size:13px;line-height:1.65;margin:0 0 14px;min-height:41px;}
.rc-home .rc-featured { padding:50px 40px 40px; background:#fff; border:1px solid #E9DFC9; border-radius:4px; }
.rc-home .rc-featured .rc-section-heading {margin-bottom:28px;}
.rc-home .rc-featured ul.products {display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px!important;list-style:none!important;padding:0!important;margin:0!important;}
.rc-home .rc-featured ul.products li.product {width:auto!important;float:none!important;clear:none!important;margin:0!important;text-align:center;min-width:0!important;}
.rc-home .rc-featured ul.products li.product img {width:100%!important;height:210px!important;object-fit:contain!important; background:#F7F3EA; padding:12px!important;border-radius:3px;}
/* Blocksy sometimes inserts a long all-caps category list under each product. */
.rc-home .rc-featured ul.products li.product .ct-product-categories,
.rc-home .rc-featured ul.products li.product .ct-woo-meta,
.rc-home .rc-featured ul.products li.product .ct-woo-card-extra,
.rc-home .rc-featured ul.products li.product .product-category {display:none!important;}
.rc-home .rc-featured ul.products li.product .woocommerce-loop-product__title {font:400 17px/1.4 Georgia,serif!important;color:#292823!important;margin-top:12px!important;}
.rc-home .rc-featured ul.products li.product .woocommerce-loop-product__title {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;}
.rc-home .rc-featured ul.products li.product .price {color:#45635A!important;font-weight:600;}
.rc-home .rc-featured ul.products li.product .button {display:inline-block!important;padding:10px 13px!important;border-radius:3px!important;background:#45635A!important;color:#fff!important;font-size:12px!important;margin-top:10px!important;}
.rc-home .rc-section-footer {margin-top:27px;text-align:center;}
.rc-home .rc-about {background:#E9DFC9;border-radius:4px;padding:50px 58px;margin:0 auto 72px;}
.rc-home .rc-about .wp-block-columns {gap:50px;align-items:center;margin:0;}
.rc-home .rc-about h2 {font-size:clamp(29px,3vw,43px)!important;line-height:1.2!important;margin:0 0 18px!important;}
.rc-home .rc-about .rc-paper {background:#fffdf8;padding:38px 36px;border:1px solid #d7c9b1;transform:rotate(2deg);box-shadow:0 14px 27px rgba(44,39,29,.12);text-align:center;}
.rc-home .rc-about .rc-paper .rc-paper-mark {font:italic 36px/1 Georgia,serif;color:#A35C53;margin-bottom:22px;}
.rc-home .rc-about .rc-paper h3 {font-size:25px!important;line-height:1.3!important;margin:0 0 14px!important;}
.rc-home .rc-about .rc-paper p {font-size:14px;margin:0;}
.rc-home .rc-about .rc-paper .rc-paper-rule {border-top:1px solid #e4d8c7;max-width:90px;margin:22px auto;}
.rc-home .rc-closing {padding:8px 10px 65px;text-align:center;max-width:760px!important;margin:0 auto;}
.rc-home .rc-closing h2 {font-size:clamp(26px,2.7vw,36px)!important;margin:0 0 17px!important;}
.rc-home .rc-closing p {max-width:600px;margin:0 auto 23px;}
@media (max-width:1000px) {
  .rc-home .rc-hero {padding:35px 28px;}
  .rc-home .rc-hero .wp-block-columns {gap:30px;}
  .rc-home .rc-featured {padding:34px 26px;}
  .rc-home .rc-featured ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .rc-home .rc-about{padding:35px;}
}
@media (max-width:780px) {
  .rc-home {width:calc(100% - 24px);}
  .rc-home .rc-hero .wp-block-columns,.rc-home .rc-about .wp-block-columns,.rc-home .rc-collections {display:flex!important;flex-direction:column!important;gap:24px!important;}
  .rc-home .rc-hero .wp-block-column,.rc-home .rc-about .wp-block-column,.rc-home .rc-collections>.wp-block-column{flex-basis:auto!important;width:100%!important;}
  .rc-home .rc-hero h1{font-size:37px!important;}
  .rc-home .rc-promise{margin-bottom:52px;}
  .rc-home .rc-section{margin-bottom:58px;}
  .rc-home .rc-about .rc-paper{transform:none;}
}
@media (max-width:480px) {
  .rc-home .rc-art-grid--hero {gap:10px;}
  .rc-home .rc-art-grid--hero .rc-art-tile {padding:7px;}
  .rc-home .rc-hero {padding:25px 18px 30px;}
  .rc-home .rc-hero h1 {font-size:33px!important;}
  .rc-home .rc-featured{padding:27px 17px;}
  .rc-home .rc-featured ul.products{gap:14px!important;}
  .rc-home .rc-featured ul.products li.product img{height:155px!important;}
  .rc-home .rc-featured ul.products li.product .woocommerce-loop-product__title{font-size:14px!important;}
  .rc-home .rc-about{padding:28px 20px;}
  .rc-home .rc-about .rc-paper{padding:27px 21px;}
}
