/*
 Theme Name: Astra Child
 Theme URI: https://spracvcovske.sk/astra-child/
 Description: My custom child theme for Astra
 Author: Milan Jakubec
 Author URI: https://crafted.sk
 Template: astra
 Version: 1.0.7
 Text Domain: astra-child
*/

/* Add your custom CSS below this line */

.rm-pl {
	padding-left:0!important;
}

.po-schodoch {
	background-color: #ec7a08;
}

.po-schodoch a {
	color: #fff!important;
}

.sbd-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2.5rem;
	margin-top: 2rem;
}

.sbd-services .wp-block-column  {
	display: flex;
}

.card {
        flex: 1;
	background: #fff;
  	border-radius: 1rem;
  	padding: 2rem;
  	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  	transition: transform 0.2s;
  	text-align: center; /* Center all content */
  	display: flex;
  	flex-direction: column;
  	align-items: center;
  	justify-content: start;
}

.card:hover {
	transform: translateY(-6px);
}

.name {
	font-size: 1.2rem;
	font-weight: 700;
	color: #222;
	margin-bottom: 0.5rem;
}

.position {
	font-weight: 600;
	color: #555;
	margin-bottom: 1rem;
}

.icon {
  font-size: 3rem; /* Bigger icon */
  margin-bottom: 1rem;
}

.name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.75rem;
}

.info {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 0!important;
}

.info a {
	color: #f26522;
	text-decoration: none;
}

.info a:hover {
	text-decoration: underline;
}

.vacation {
	margin-top: 10px;
	font-weight: bold;
	color: #b40000;
}


/* Responsive spacing tweak */
@media (max-width: 768px) {
  .sbd-grid {
    gap: 1.5rem;
  }
}