/*
	Theme Name: Hello Elementor
	Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
	Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
	Author: Elementor Team
	Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
	Version: 3.4.9
	Stable tag: 3.4.9
	Requires at least: 6.0
	Tested up to: 6.8
	Requires PHP: 7.4
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: hello-elementor
	Tags: accessibility-ready, flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready,
*/
/* =====================================================
   # Featured Trail Guides Section
   ===================================================== */

.ftg-section {
    padding: 80px 0;
    background-color: var(--e-global-color-light-gray);
}

.ftg-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.ftg-header {
    text-align: center;
    margin-bottom: 48px;
}

.ftg-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--e-global-color-primary);
    margin: 0 0 12px;
    font-family: var(--e-global-heading-font);
}

.ftg-subtitle {
    font-size: 16px;
    color: var(--e-global-color-text);
    margin: 0;
}

/* Grid */

.ftg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 992px) {
    .ftg-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .ftg-grid {
        grid-template-columns: 1fr;
    }
}

/* Card */

.ftg-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.ftg-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.14);
    transform: translateY(-3px);
}

.ftg-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* Card image */

.ftg-card__image-wrap {
    position: relative;
    overflow: hidden;
    height: 210px;
    flex-shrink: 0;
}

.ftg-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.ftg-card:hover .ftg-card__image {
    transform: scale(1.04);
}

.ftg-card__image--placeholder {
    background-color: var(--e-global-color-very-light-gray);
}

/* Difficulty badge */

.ftg-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    background-color: var(--e-global-color-accent);
}

.ftg-card__badge--easy        { background-color: #2d9e4e; }
.ftg-card__badge--moderate    { background-color: #e68a00; }
.ftg-card__badge--hard        { background-color: #c0392b; }
.ftg-card__badge--expert      { background-color: #6c1a7e; }

/* Card body */

.ftg-card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ftg-card__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--e-global-color-primary);
    margin: 0 0 6px;
    font-family: var(--e-global-heading-font);
    line-height: 1.3;
}

.ftg-card__location {
    font-size: 13px;
    color: var(--e-global-color-text);
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ftg-card__location-icon {
    font-size: 14px;
}

.ftg-card__summary {
    font-size: 14px;
    color: var(--e-global-color-text);
    line-height: 1.6;
    margin: 0 0 16px;
    flex-grow: 1;
}

/* Stats row */

.ftg-card__stats {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    display: flex;
    gap: 0;
    border-top: 1px solid var(--e-global-color-very-light-gray);
    padding-top: 14px;
}

.ftg-card__stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-right: 1px solid var(--e-global-color-very-light-gray);
}

.ftg-card__stat:last-child {
    border-right: none;
}

.ftg-card__stat-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--e-global-color-primary);
    line-height: 1.2;
}

.ftg-card__stat-label {
    font-size: 11px;
    color: var(--e-global-color-text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

/* CTA button */

.ftg-card__cta {
    display: inline-block;
    background-color: var(--e-global-color-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 9px 20px;
    border-radius: 4px;
    text-align: center;
    transition: background-color 0.2s ease;
    align-self: flex-start;
}

.ftg-card__link:hover .ftg-card__cta {
    background-color: var(--e-global-color-very-dark-blue);
}

/* Footer / browse all link */

.ftg-footer {
    text-align: center;
    margin-top: 44px;
}

.ftg-all-routes-btn {
    display: inline-block;
    border: 2px solid var(--e-global-color-primary);
    color: var(--e-global-color-primary);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 12px 32px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.ftg-all-routes-btn:hover {
    background-color: var(--e-global-color-primary);
    color: #fff;
}