/* Info Cards – Reveal (CSS‑only, non‑3D) */
.info-cards-header{margin-bottom:1.5em;text-align:center!important;padding-left:12%;padding-right:12%;padding-bottom:2%}
.info-cards-section .ct-container{max-width:1200px;margin:0 auto;padding:0 1rem;width:100%;box-sizing:border-box}
.info-cards-flex{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2em;justify-items:stretch}
@media(max-width:900px){.info-cards-flex{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.info-cards-flex{grid-template-columns:1fr}.info-cards-header{padding-left:2%;padding-right:2%}}

.info-card{position:relative;min-height:24em;border-radius:0;box-shadow:0 1px 1px rgba(0,0,0,.02);overflow:hidden}
.info-card-main{position:relative;padding:2.4em 2.8em 1.6em 2.8em;color:#fff}
.card-bg-overlay{position:absolute;inset:0;background-size:cover;background-position:center;pointer-events:none;opacity:.08;z-index:0}
.info-card-main>*{position:relative;z-index:1}
.info-card h4{margin:0}
.info-card p{margin:0;font-weight:500;font-size:1.12em}
.card-buttons{display:flex;gap:.6em;justify-content:center;margin-top:1em;flex-wrap:wrap}

.card-button{display:inline-block;padding:.5em 1.2em;border-radius:1.2em;font-weight:600;cursor:pointer;transition:transform .15s ease,background .2s ease,border-color .2s ease,color .2s ease}
.card-button:active{transform:scale(.98)}

/* Reveal panel */
.info-card-more{background:#fff;color:inherit;border-top:2px solid currentColor;max-height:0;opacity:0;overflow:hidden;transition:max-height .45s ease, opacity .35s ease, transform .35s ease;transform:translateY(-6px)}
.info-card-more-inner{padding:1.2em 2.0em 2.0em 2.0em}
.info-card-more h5{margin:.2em 0 .4em 0;font-size:1.05em}

/* Toggle: general sibling to tolerate extra wrappers */
.card-toggle{position:absolute;opacity:0;pointer-events:none}
.card-toggle:checked ~ .info-card .info-card-more{max-height:800px;opacity:1;transform:none}

/* Two labels – show/hide depending on state */
.more-btn{display:inline-block}
.back-btn{display:none}
.card-toggle:checked ~ .info-card .more-btn{display:none}
.card-toggle:checked ~ .info-card .back-btn{display:inline-block}

/* Button visual styles per face (front buttons are white outline; back inherits accent) */
.info-card .more-btn{background:rgba(255,255,255,.12);border:1px solid #fff;color:#fff}
.info-card .more-btn:hover{background:rgba(255,255,255,.22)}
.info-card .back-btn{background:transparent;border:1px solid currentColor;color:currentColor}
.info-card .back-btn:hover{background:currentColor;color:#fff}

/* Icons outline-only */
.info-card svg *{fill:none!important}
