/* Public comprehensive cards on the site's ivory background. */
.l24-comprehensive-cards{box-sizing:border-box;width:100%;max-width:1200px;margin:32px auto 48px}
.l24-comprehensive-grid{display:grid;gap:28px;align-items:stretch}
.l24-comprehensive-columns-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.l24-comprehensive-columns-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.l24-comprehensive-columns-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.l24-comprehensive-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #e7e2d7;border-radius:14px;background-color:var(--l24-card-background,#fffefb);color:var(--l24-ink,#334155);box-shadow:0 10px 28px rgba(55,51,40,.045)}
.l24-comprehensive-media{width:100%;max-width:800px;min-width:0;margin:0 auto}
.l24-comprehensive-media .l24-comprehensive-image{display:block;width:100%;max-width:800px;height:auto;object-fit:contain;margin:0 auto}
.l24-comprehensive-copy{display:flex;flex-direction:column;gap:12px;min-width:0;padding:28px 26px 30px}
.l24-comprehensive-copy>.l24-comprehensive-english-title{margin:0;font-size:13px;font-weight:600;line-height:1.5;letter-spacing:.14em;color:var(--l24-card-english-title-color,#687c70)}
.l24-comprehensive-copy>.l24-comprehensive-key-message{margin:0;font-size:28px;font-weight:700;line-height:1.4;letter-spacing:-.035em;color:var(--l24-card-key-message-color,#0b3b2f)}
.l24-comprehensive-copy>.l24-comprehensive-key-message:before{content:"";display:block;width:28px;height:2px;margin-bottom:12px;background:currentColor;opacity:.35}
.l24-comprehensive-copy>.l24-comprehensive-description-1,.l24-comprehensive-copy>.l24-comprehensive-description-2{margin:0;font-size:16px;font-weight:400;line-height:1.8}
.l24-comprehensive-copy>.l24-comprehensive-description-1{color:var(--l24-card-description-1-color,#626a66)}
.l24-comprehensive-copy>.l24-comprehensive-description-2{color:var(--l24-card-description-2-color,#626a66)}
.l24-comprehensive-copy>p,.l24-comprehensive-copy>h3{white-space:pre-wrap;word-break:keep-all;overflow-wrap:anywhere;min-width:0}
/* Close only the excess gap immediately before an independently rendered card section. */
.l24-site .l24-main>.l24-section:has(+.l24-comprehensive-cards){padding-bottom:0}
.l24-site .l24-main>.l24-section:has(+.l24-comprehensive-cards)>.l24-container>.l24-sales-hero-media:last-child{margin-bottom:0}
@media(max-width:767px){
.l24-comprehensive-cards{margin:24px auto 32px}
.l24-comprehensive-grid{grid-template-columns:minmax(0,1fr);gap:24px}
.l24-comprehensive-copy{padding:24px 22px 26px;gap:10px}
.l24-comprehensive-copy>.l24-comprehensive-english-title{font-size:12px}
.l24-comprehensive-copy>.l24-comprehensive-key-message{font-size:23px}
.l24-comprehensive-copy>.l24-comprehensive-description-1,.l24-comprehensive-copy>.l24-comprehensive-description-2{font-size:15px}
}
/* Only the plugin's card editor is affected in wp-admin. */
.l24-comprehensive-editor{margin:32px 0 24px;padding:24px;border:1px solid #dcdcde;background:#f8f9fa}
.l24-comprehensive-editor>h3{margin:0 0 12px}
.l24-comprehensive-editor-block{margin:24px 0;padding:20px;border:1px solid #c3c4c7;background:#f0f0f1}
.l24-card-block-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.l24-card-block-head h4{margin:0;font-size:16px}
@media(max-width:782px){.l24-comprehensive-editor-block{padding:12px}}
.l24-comprehensive-editor-card{margin:20px 0;padding:20px;border:1px solid #ccd0d4;background:#fff}
.l24-cards-card-head,.l24-cards-field-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.l24-cards-card-head{padding-bottom:16px;border-bottom:1px solid #ddd}
.l24-cards-field{margin-top:16px;padding-top:12px;border-top:1px solid #eee}
.l24-cards-field:first-of-type{border-top:0}
.l24-cards-field-head{margin-bottom:8px;font-weight:600}
.l24-cards-actions{display:flex;flex-wrap:wrap;gap:6px}
.l24-comprehensive-editor .l24-cards-field textarea{box-sizing:border-box;width:100%;max-width:100%;resize:vertical;min-height:64px}
.l24-cards-image-preview{display:flex;align-items:center;justify-content:center;min-height:80px;margin-bottom:10px;background:#f5f5f5}
.l24-cards-image-preview img{display:block;max-width:100%;max-height:200px;width:auto;height:auto}
.l24-card-color-control{display:block;margin:12px 0}
.l24-card-color-control>span{display:block;margin-bottom:6px;font-weight:600}
.l24-card-color-fields,.l24-style-color-pair{display:flex;align-items:center;gap:8px;min-width:0}
.l24-card-color-fields input[type=color],.l24-style-color-pair input[type=color]{flex:0 0 40px;width:40px;height:34px;padding:2px;min-width:0}
.l24-card-color-fields input[type=text],.l24-style-color-pair input[type=text]{width:115px;min-width:0}
.l24-card-color-control small{display:block;margin-top:5px;color:#646970}
.l24-style-controls.l24-card-text-style-controls{grid-template-columns:repeat(4,minmax(0,1fr))}
.l24-card-text-style-controls select{width:100%;min-height:40px}
.l24-card-text-style-controls .l24-style-color-pair{flex-wrap:wrap}
@media(max-width:1200px){.l24-style-controls.l24-card-text-style-controls{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:782px){.l24-style-controls.l24-card-text-style-controls{grid-template-columns:minmax(0,1fr)}.l24-card-color-fields{flex-wrap:wrap}}
.l24-cards-empty{padding:16px;border:1px dashed #aaa}
@media(max-width:782px){.l24-comprehensive-editor{padding:14px}.l24-comprehensive-editor-card{padding:12px}}
