/**
 * Gon Blocks - Frontend Styles
 */

/* Ensure blocks work at full width */
.gon-blocks-wrapper,
.wp-block-gon-feature-box,
.wp-block-gon-price-table,
.wp-block-gon-banner {
    max-width: 100%;
    width: 100%;
}

/* Feature Box Styles */
.ts-feature-box {
    margin-bottom: 30px;
    padding: 20px;
    max-width: 100%;
}

.ts-feature-box.feature-horizontal {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.ts-feature-box.feature-vertical {
    text-align: center;
}

.feature-icon {
    flex-shrink: 0;
}

.feature-icon.icon-default i {
    font-size: 48px;
    color: #333;
    transition: color 0.3s ease;
}

.feature-icon.icon-small i {
    font-size: 32px;
    color: #333;
    transition: color 0.3s ease;
}

.ts-feature-box.feature-icon-blue .feature-icon i {
    color: #3498db;
}

.ts-feature-box.feature-icon-orange .feature-icon i {
    color: #e67e22;
}

.ts-feature-box.feature-icon-green .feature-icon i {
    color: #27ae60;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 10px;
    line-height: 1.4;
}

.feature-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.feature-title a:hover {
    color: #e67e22;
}

.feature-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

.ts-feature-box.feature-vertical .feature-icon {
    margin: 0 auto 20px;
}

.ts-feature-box.feature-vertical img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

/* Price Table Styles */
.ts-price-table {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.ts-price-table:hover,
.ts-price-table.active {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #e67e22;
    transform: translateY(-5px);
}

.price-table-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-wrapper {
    margin: 30px 0;
    font-size: 48px;
    font-weight: 700;
    color: #333;
}

.price-wrapper .currency {
    font-size: 24px;
    vertical-align: super;
}

.price-wrapper .price {
    display: inline-block;
}

.price-wrapper .duration {
    font-size: 16px;
    font-weight: 400;
    color: #999;
    display: block;
    margin-top: 5px;
}

.price-description {
    margin: 30px 0;
    font-size: 14px;
    line-height: 2;
    color: #666;
}

.price-description ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.price-description li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.price-description li:last-child {
    border-bottom: none;
}

.price-button {
    display: inline-block;
    padding: 12px 40px;
    background: #e67e22;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s ease;
    cursor: pointer;
}

.price-button:hover {
    background: #d35400;
    color: #fff;
}

.ts-price-table.active .price-button {
    background: #27ae60;
}

.ts-price-table.active .price-button:hover {
    background: #229954;
}

/* Banner Styles */
.ts-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 30px;
    width: 100%;
    max-width: 100%;
}

.banner-content {
    position: relative;
    z-index: 2;
    padding: 60px 40px;
    color: #fff;
    text-align: center;
}

.banner-content.position-top-left {
    align-self: flex-start;
    margin-right: auto;
    text-align: left;
}

.banner-content.position-top-center {
    align-self: flex-start;
}

.banner-content.position-top-right {
    align-self: flex-start;
    margin-left: auto;
    text-align: right;
}

.banner-content.position-center-left {
    margin-right: auto;
    text-align: left;
}

.banner-content.position-center-right {
    margin-left: auto;
    text-align: right;
}

.banner-content.position-bottom-left {
    align-self: flex-end;
    margin-right: auto;
    text-align: left;
}

.banner-content.position-bottom-center {
    align-self: flex-end;
}

.banner-content.position-bottom-right {
    align-self: flex-end;
    margin-left: auto;
    text-align: right;
}

.banner-subtitle {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.banner-title {
    font-size: 48px;
    font-weight: 700;
    margin: 20px 0;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.banner-button {
    display: inline-block;
    padding: 15px 40px;
    background: #e67e22;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    margin-top: 20px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.banner-button:hover {
    background: #d35400;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .ts-feature-box.feature-horizontal {
        flex-direction: column;
        text-align: center;
    }

    .feature-icon.icon-default i {
        font-size: 36px;
    }

    .feature-title {
        font-size: 18px;
    }

    .price-wrapper {
        font-size: 36px;
    }

    .banner-title {
        font-size: 32px;
    }

    .banner-subtitle {
        font-size: 14px;
    }

    .banner-content {
        padding: 40px 20px;
    }
/* Grid System for Columns */
.wp-block-columns {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    max-width: 100%;
    width: 100%;
}

.wp-block-column {
    flex: 1;
    max-width: 100%;
}

/* Fix images in blocks */
.ts-feature-box img,
.ts-price-table img,
.ts-banner img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Ensure links are visible and clickable */
.ts-feature-box a,
.ts-price-table a,
.ts-banner a,
.price-button,
.banner-button {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.feature-title a:hover {
    color: #e67e22;
    text-decoration: none;
}

.price-button,
.banner-button {
    pointer-events: all;
    cursor: pointer;
}

@media (max-width: 768px) {
    .wp-block-columns {
        flex-direction: column;
    }
    
    .ts-feature-box,
    .ts-price-table {
        margin-bottom: 20px;
    }
}       flex-direction: column;
    }
}
