/*
Theme Name: smartsocialmedia-custom-block-theme
Theme URI: 
Author: Leobard, Ebo
Author URI: 
Description: Created by Leobard and Ebo
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: smartsocialmedia-custom-block-theme
Tags: 
*/

.wp-block-navigation a:hover {
  color: var(--wp--preset--color--accent-1);
}

.wp-block-button:hover, 
.wp-block-button__link:hover,
.wp-element-button:hover
{
  transform: translateY(-1px);
}

/* ── Cards (Group blocks used as cards) ─────────────────────── */
.wp-block-group.card {
  background: var(--wp--preset--color--base-4);
  color: var(--wp--preset--color--contrast-4);
  border: 1px solid var(--wp--preset--color--border-4);
  border-radius: 8px;
  padding: 1.5rem 1.5rem;
  position: relative;
  transition: box-shadow 0.22s ease, transform 0.22s ease;
  overflow: hidden;
}

.wp-block-group.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 0;
  background: var(--wp--preset--color--accent-1);
  border-radius: 8px 0 0 8px;
  transition: height 0.25s ease;
}

.wp-block-group.card:hover {
  box-shadow: 0 8px 28px rgba(27, 58, 92, 0.10);
  transform: translateY(-2px);
}

.wp-block-group.card:hover::before {
  height: 100%;
}


.wp-block-image.size-full.card-icon {
	width:40px;
	height:40px;
	background:#eef4fb;
	border-radius:8px;
	align-items: center;
	justify-content: center;
	display: flex;
}

.wp-block-group.card p {
  color: var(--wp--preset--color--contrast-4-2);
  font-size: 0.93rem;
}