/*
 Theme Name:     Cahillbrand - Divi Child Theme
 Theme URI:      https://cahillbrand.co.uk
 Description:    Cahillbrand - Divi Child Theme
 Author:         Cahillbrand Ltd
 Author URI:     https://cahillbrand.co.uk
 Template:       Divi
 Version:        1.0.0
*/

.et_button_no_icon.et_button_icon_visible.et_button_left .et_pb_button,
.et_button_no_icon.et_button_icon_visible.et_button_left .et_pb_button:hover,
.et_button_no_icon.et_button_left .et_pb_button,
.et_button_no_icon.et_button_left .et_pb_button:hover,
.et_button_no_icon .et_pb_button,
.et_button_no_icon .et_pb_button:hover,
.et_pb_button,
.et_pb_button:hover,
body #page-container .et_pb_section .et_pb_button_1_tb_body.et_pb_button:hover {
    padding: 1rem 2rem !important;
}

.et_button_no_icon.et_button_icon_visible.et_button_left .et_pb_button:hover,
.et_button_no_icon.et_button_left .et_pb_button:hover,
.et_button_no_icon .et_pb_button:hover,
.et_pb_button:hover,
body #page-container .et_pb_section .et_pb_button_1_tb_body.et_pb_button:hover {
	transform: translateY(-3px);
}

.top-border::before {
	content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gcid-secondary-color), var(--gcid-primary-color));
	z-index: 10;
}

.section-border::after {
	content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f47a20 0%, #2da8de 50%, #5db85d 100%);
}

.card-hover {
	transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}

.card-hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gcid-secondary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

.card-hover:hover {
	transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(44, 54, 81, 0.14);
}

.card-hover:hover::after {
	transform: scaleX(1);
}

/* Data table */
.data-table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
	font-size: 0.9rem;
}

.data-table th {
	background: #F0EDE8;
	color: #2C3651;
	font-weight: 700;
	text-align: left;
	padding: 12px 16px;
	border: 1px solid #E2DDD8;
	font-family: 'Nunito', sans-serif;
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.data-table td {
	padding: 12px 16px;
	border: 1px solid #E2DDD8;
	color: #4A5568;
	vertical-align: top;
	line-height: 1.65;
}

.data-table tr:nth-child(even) td {
	background: rgba(240, 237, 232, 0.4);
}

.info-box {
	background: #E8F5FB;
	border: 1px solid rgba(45, 168, 222, 0.2);
	border-left: 3px solid #2DA8DE;
	border-radius: 8px;
	padding: 18px 20px;
	margin: 20px 0;
	font-size: 0.92rem;
	color: #4A5568;
	line-height: 1.75;
}

.rights-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin: 20px 0;
}

.right-card {
	background: #FFFFFF;
	border: 1px solid #E2DDD8;
	border-radius: 10px;
	padding: 16px 18px;
}

.right-card-title {
	font-weight: 700;
	font-size: 0.88rem;
	color: #2C3651;
	margin-bottom: 4px;
	font-family: 'Nunito', sans-serif;
}

.right-card p {
	font-size: 0.84rem;
	color: #718096;
	margin: 0;
	line-height: 1.6;
}


.legal ul {
	margin: 14px 0;
	padding-left: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.legal ul li {
	font-size: 0.97rem;
	color: #4A5568;
	line-height: 1.7;
	padding-left: 20px;
	position: relative;
}

.legal ul li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 11px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--gcid-secondary-color);
}
