/*
Theme Name: List With Ripple
Theme URI: https://www.listwithripple.com
Author: The Fertility Foundation
Author URI: https://www.fertilityfoundation.org
Description: The website for List With Ripple, the crosslisting tool for charity shops. A block theme: edit any text in Appearance › Editor.
Requires at least: 6.6
Tested up to: 6.7
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ripple
*/

/* Small touches theme.json can't do. */
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
.ripple-header { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(1.4) blur(10px); }
.ripple-card { transition: transform .15s ease, box-shadow .15s ease; height: 100%; }
.ripple-card:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(11, 37, 69, .10); }
.ripple-icon { font-size: 28px; line-height: 1; margin-bottom: 10px; }
.ripple-pill { display: inline-block; padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; margin: 4px; background: #fff; border: 1px solid #dfe7ec; }
.ripple-step-num { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center; font-weight: 800; background: #0b7f8a; color: #fff; }
.ripple-hero-art img { border-radius: 18px; box-shadow: 0 30px 80px rgba(11, 37, 69, .25); }
.wp-block-details { border: 1px solid #dfe7ec; border-radius: 12px; padding: 14px 18px; background: #fff; }
.wp-block-details summary { font-weight: 700; cursor: pointer; }

/* Register interest form */
.ripple-form { display: grid; gap: 14px; }
.ripple-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ripple-form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.ripple-form input, .ripple-form textarea, .ripple-form select { font: inherit; padding: 11px 13px; border: 1px solid #cfdbe2; border-radius: 10px; background: #fff; color: #13212e; width: 100%; box-sizing: border-box; }
.ripple-form textarea { min-height: 100px; }
.ripple-form fieldset { border: 0; padding: 0; margin: 0; }
.ripple-form legend { font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.ripple-form .ticks { display: flex; flex-wrap: wrap; gap: 8px; }
.ripple-form .ticks label { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; padding: 7px 12px; border: 1px solid #cfdbe2; border-radius: 999px; background: #fff; cursor: pointer; }
.ripple-form .ticks input { width: auto; margin: 0; }
.ripple-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ripple-form button { font: inherit; font-weight: 700; padding: 13px 22px; border: 0; border-radius: 10px; background: #0b7f8a; color: #fff; cursor: pointer; justify-self: start; }
.ripple-form button:disabled { opacity: .6; cursor: default; }
.ripple-form .msg { margin: 0; font-weight: 600; }
.ripple-form .msg.ok { color: #12735a; } .ripple-form .msg.bad { color: #c0392b; }
@media (max-width: 640px) { .ripple-form .row2 { grid-template-columns: 1fr; } }

/* "Register interest" in the menu, as a button */
.ripple-nav-cta > a { background: #3cc6d1; color: #052a30 !important; padding: 8px 14px; border-radius: 9px; }
.ripple-nav-cta > a:hover { background: #fff; }
