/* Hero
   ========================================================================== */

.hub-hero-img {
	border-radius: 12px;
	overflow: hidden;
}

.hub-hero-img img {
	width: 100%;
	max-height: 420px;
	object-fit: cover;
	display: block;
}

/* Popular guides carousel
   ========================================================================== */

.popular-guides-carousel {
	position: relative;
	overflow: visible;
}

.popular-guide-img {
	position: relative;
	border-radius: 8px;
	overflow: hidden;
}

.popular-guide-img img {
	width: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.popular-guide-arrow {
	position: absolute;
	bottom: 10px;
	right: 10px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(30, 75, 143, 0.85);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.8rem;
}

.popular-guide-title {
	font-size: 0.9rem;
	font-weight: 600;
	color: #0099ff;
	margin-top: 0.5rem;
	margin-bottom: 0;
	text-align: center;
}

.popular-guide-title:hover{
	 opacity: 0.7;
}


/* Category hub cards
   ========================================================================== */

.category-hub-card {
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid #e0e6ed;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	height: 100%;
}

.category-hub-img {
	position: relative;
	display: block;
	overflow: hidden;
}

.category-hub-img img {
	width: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.category-hub-arrow {
	position: absolute;
	bottom: 10px;
	right: 10px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(30, 75, 143, 0.85);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.8rem;
}

.category-hub-title {
	font-size: 1.1rem;
	font-weight: 600;
	color: #0099ff!important;
	text-decoration: none;
	display: block;
}

.category-hub-title:hover{
	 opacity: 0.7;
}

.category-hub-link:hover{
	 opacity: 0.7;
}

.category-hub-link {
	font-size: 0.875rem;
	color: #0099ff!important;
	text-decoration: none;
}


.category-hub-details{
	text-align: center;
}

.category-hub-details .category-hub-link{
	font-weight:600;
}

/* Author hub cards
   ========================================================================== */

.author-hub-card {
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
   
}

.author-hub-photo {
    position: relative;
	width:100%;
    inset: 0;
}

.author-hub-photo img {
    width: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.author-hub-inner {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.25rem;
    text-align: center;
}

.author-hub-name{
	color: #0099ff;
}

.author-hub-role{
	font-weight:bold;
}

/* Services services cards
   ========================================================================== */

.services-block {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    display: block;
}

.services-img {
    position: relative;
    width: 100%;
    line-height: 0;
}

.services-img img {
    width: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.services-details {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.25rem 1.25rem 1.25rem 30%;
    text-align: center;
}

.services-details p {
    font-size: 0.85rem;
    color: #fff;
    margin: 0;
    line-height: 1.4;
	max-width: 80%;  
}

.services-details p.medium {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.25rem;
}

@media (max-width: 991px) {
	.popular-guide-card {
		flex: 0 0 calc(33.333% - 0.75rem);
	}
}

@media (min-width: 767px) and (max-width: 991px) {
	.author-hub-name{
		font-size:14px;
	}

	.author-hub-role{
		font-size:12px;
		line-height: normal;
	}

	.author-hub-bio{
		font-size:11px;
		line-height:normal;
	}

	.services-details p.medium{
		font-size:14px;
	}

	.services-details p{
		font-size:11px;
		line-height:normal;
	}
}

@media (max-width: 767px) {
    .services-details {
        padding: 1.25rem 1rem 1.25rem 25%;
        text-align: center;
    }

    .services-details p.medium {
        font-size: 1rem;
    }

    .services-details p {
        font-size: 0.75rem;
    }

	.popular-guide-card {
		flex: 0 0 100%;
	}

		.author-hub-name{
		font-size:20px;
	}

	.author-hub-role{
		font-size:12px;
		line-height: normal;
	}

	.author-hub-bio{
		font-size:11px;
		line-height:normal;
	}
}



