/*
 * TurfNet Community Shortcodes Frontend Styles
 *
 */

/* ==========================================================================
   Widget Container
   ========================================================================== */

.turfnet-community-widget,
.turfnet-custom-widget {
    background: #ffffff;
    border-radius: 8px;
}

/* ==========================================================================
   Widget Header
   ========================================================================== */

.fcom_widget_header {
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.fcom_widget_title {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #1d2129;
    line-height: 1.4;
}

.fcom_widget_description {
    margin: 0;
    color: #65676b;
    font-size: 14px;
    line-height: 1.5;
}

/* ==========================================================================
   Posts List
   ========================================================================== */

.fcom_posts_list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Grid Layout */
.fcom_posts_grid {
    display: grid;
    grid-template-columns: repeat(var(--grid-columns-desktop, 3), 1fr);
    gap: 20px;
    flex-direction: unset;
}

.fcom_posts_grid .fcom_post_item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.fcom_post_item {
    padding: 12px;
    margin: 0;
    border-radius: 8px;
    transition: box-shadow 0.2s ease, transform 0.1s ease;
    cursor: pointer;
}

.fcom_post_item:last-child {
    border-bottom: none;
}

.fcom_post_item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
    transform: translateY(-1px);
    background-color: #f0f2f5;
}

/* ==========================================================================
   Post Header
   ========================================================================== */

.fcom_post_header {
    margin-bottom: 6px;
    margin-top: 6px;
}

.fcom_post_author {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.fcom_author_avatar {
    flex-shrink: 0;
}

.fcom_avatar {
    border-radius: 50%;
    object-fit: cover;
}

.fcom_author_info {
    flex: 1;
    min-width: 0;
}

.fcom_author_name {
    display: block;
    font-weight: 600;
    color: #1d2129;
    font-size: 13px;
    line-height: 1.4;
}

.fcom_post_meta {
    display: block;
    color: #65676b;
    font-size: 11px;
    line-height: 1.4;
    margin-top: 1px;
}

.fcom_post_date {
    color: inherit;
    text-decoration: none;
}

.fcom_post_space {
    margin-left: 6px;
}

/* ==========================================================================
   Post Content
   ========================================================================== */

.fcom_post_content {
    margin-bottom: 0;
}

.fcom_post_title {
    margin: 0 0 8px 0 !important;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.fcom_post_link {
    color: #1d2129;
    text-decoration: none;
    transition: color 0.2s ease;
}

.fcom_post_link:hover {
    color: var(--community-color-text-secondary);
    text-decoration: none;
}

.fcom_comments_badge {
    background: #f0f2f5;
    color: #65676b;
    font-size: 11px;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 16px;
    text-align: center;
    flex-shrink: 0;
    transition: background-color 0.2s ease;
}

.fcom_comments_badge:hover {
    background: #e4e6ea;
}

.fcom_featured_badge {
    background: #ff6b35 !important;
    color: #ffffff !important;
}

.fcom_featured_badge:hover {
    background: #ff5722 !important;
}

.fcom_post_excerpt {
    color: #65676b;
    font-size: 14px;
    line-height: 1.5;
    margin: 10px 0 8px 0;
}

.fcom_post_image {
    margin: 12px 0;
    border-radius: 8px;
    overflow: hidden;
}

.fcom_featured_image {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    display: block;
}

.fcom_post_topics {
    margin: 12px 0;
}

.fcom_topic_link {
    display: inline-block;
    background: #f0f2f5;
    color: var(--community-color-text-secondary);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    text-decoration: none;
    margin-right: 6px;
    margin-bottom: 4px;
    transition: background-color 0.2s ease;
}

.fcom_topic_link:hover {
    background: #e4e6ea;
    text-decoration: none;
}

/* ==========================================================================
   Members Specific Styles
   ========================================================================== */

.fcom_member_item {
    /* Inherits all post item styles */
}

.fcom_member_content {
    /* Inherits post content styles */
}

.fcom_member_header {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 0;
}

.fcom_member_avatar {
    flex-shrink: 0;
}

.fcom_recent_members_widget .fcom_avatar {
    max-width: 70% !important;
}

.fcom_recent_members_widget .fcom_post_item {
    padding-bottom: 5px;
}

.fcom_member_info {
    flex: 1;
    min-width: 0;
}

.fcom_member_name {
    margin: 0 0 6px 0 !important;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.fcom_member_link {
    color: #1d2129;
    text-decoration: none;
    transition: color 0.2s ease;
}

.fcom_member_link:hover {
    color: var(--community-color-primary);
    text-decoration: none;
}

.fcom_member_meta {
    color: #65676b;
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 6px;
}

.fcom_member_username {
    font-weight: 500;
    margin-right: 8px;
}

.fcom_member_joined {
    opacity: 0.8;
}

.fcom_member_description {
    color: #65676b;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 6px;
}

.fcom_member_activity {
    color: #8a8d91;
    font-size: 11px;
    font-style: italic;
    opacity: 0.8;
}

/* ==========================================================================
   Directory List View Layout (Side-by-side)
   ========================================================================== */

.turfnet-custom-widget .fcom_post_layout_wrapper {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.turfnet-custom-widget .fcom_post_image_left {
    flex-shrink: 0;
    width: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.turfnet-custom-widget .fcom_post_image_left .fcom_featured_image {
    width: 100%;
    height: 60px;
    object-fit: cover;
    display: block;
}

.turfnet-custom-widget .fcom_post_content_right {
    flex: 1;
    min-width: 0;
}

/* ==========================================================================
   Widget Footer
   ========================================================================== */

.turfnet-custom-widget .fcom_widget_footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f2f5;
    text-align: center;
}

.turfnet-custom-widget .fcom_view_all_link {
    color: var(--community-color-text-secondary) !important;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
    padding: 10px;
    border-radius: 6px;
}

.turfnet-custom-widget .fcom_view_all_link:hover {
    color: var(--community-color-primary) !important;
    background-color: var(--community-color-surface) !important;
    text-decoration: none;
}

.turfnet-custom-widget .fcom_space_link {
    color: var(--community-color-text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
    padding: 8px;
    border-radius: 6px;
}

.turfnet-custom-widget .fcom_space_link:hover {
    color: var(--community-color-primary) !important;
    background-color: var(--community-color-surface) !important;
    text-decoration: none;
}

/* ==========================================================================
   No Posts State
   ========================================================================== */

.turfnet-custom-widget .fcom_no_posts_message {
    text-align: center;
    padding: 40px 20px;
    color: #65676b;
}

.turfnet-custom-widget .fcom_no_posts_icon {
    margin-bottom: 16px;
    opacity: 0.6;
}

.turfnet-custom-widget .fcom_no_posts_icon svg {
    color: #65676b;
}

.turfnet-custom-widget .fcom_no_posts_text {
    font-size: 16px;
    font-weight: 600;
    color: #1d2129;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.turfnet-custom-widget .fcom_no_posts_suggestion {
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

/* ==========================================================================
   Error and Notice States
   ========================================================================== */

.turfnet-custom-widget .turfnet-community-shortcode-error,
.turfnet-custom-widget .turfnet-community-shortcode-notice {
    border-radius: 6px;
    margin: 16px 0;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.5;
}

.turfnet-custom-widget .turfnet-community-shortcode-notice--info {
    background: #e3f2fd;
    border: 1px solid var(--community-color-text-secondary);
    color: #1565c0;
}

.turfnet-custom-widget .turfnet-community-shortcode-notice--warning {
    background: #fff8e1;
    border: 1px solid #ffa726;
    color: #ef6c00;
}

.turfnet-custom-widget .turfnet-community-shortcode-notice--error {
    background: #ffebee;
    border: 1px solid #f44336;
    color: #c62828;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
    .turfnet-custom-widget .turfnet-community-widget,
    .turfnet-custom-widget .turfnet-custom-widget {
        padding: 16px;
        margin: 16px 0;
    }

    /* Grid responsive - adaptive columns on tablet */
    .turfnet-custom-widget .fcom_posts_grid,
    .turfnet-memberships-widget .fcom_posts_grid {
        grid-template-columns: repeat(var(--grid-columns-tablet, 2), 1fr);
        gap: 16px;
    }

    .turfnet-custom-widget .fcom_post_footer {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }

    .fcom_post_reactions {
        order: 2;
        gap: 8px;
    }


    .fcom_featured_image {
        max-height: 150px;
    }

    .fcom_widget_title {
        font-size: 16px;
    }

    .fcom_post_title {
        font-size: 15px;
    }

    .fcom_author_name {
        font-size: 12px;
    }

    .fcom_post_meta {
        font-size: 10px;
    }

    .fcom_comments_badge {
        font-size: 10px;
        padding: 2px 5px;
    }

    .fcom_member_header {
        gap: 10px;
    }

    .fcom_member_name {
        font-size: 15px;
    }

    .fcom_member_meta {
        font-size: 11px;
    }

    .fcom_member_description {
        font-size: 12px;
    }

    /* Directory list view responsive adjustments */
    .fcom_post_layout_wrapper {
        gap: 10px;
    }

    .fcom_post_image_left {
        width: 70px;
    }

    .fcom_post_image_left .fcom_featured_image {
        height: 52px;
    }
}

@media (max-width: 767px) {
    .turfnet-community-widget,
    .turfnet-custom-widget {
        padding: 12px;
        margin: 12px 0;
    }

    /* Grid responsive - adaptive columns on mobile */
    .fcom_posts_grid,
    .turfnet-memberships-widget .fcom_posts_grid {
        grid-template-columns: repeat(var(--grid-columns-mobile, 1), 1fr) !important;
        gap: 12px;
        max-width: 100%;
    }

    .fcom_post_author {
        gap: 8px;
    }

    .fcom_author_avatar img {
        width: 28px;
        height: 28px;
    }

    .fcom_post_title {
        font-size: 15px;
    }

    .fcom_post_excerpt {
        font-size: 13px;
    }

    .fcom_member_header {
        gap: 8px;
    }

    .fcom_member_name {
        font-size: 14px;
    }

    /* Directory list view mobile responsive */
    .fcom_post_layout_wrapper {
        gap: 8px;
    }

    .fcom_post_image_left {
        width: 60px;
    }

    .fcom_post_image_left .fcom_featured_image {
        height: 45px;
    }

}

/* ==========================================================================
   Light Mode Enforcement
   ========================================================================== */

/* Force light mode styling regardless of system preferences */
.turfnet-community-widget,
.turfnet-custom-widget {
    background: #ffffff !important;
    border-color: #e1e5e9 !important;
    color: #1d2129 !important;
}

.turfnet-community-widget .fcom_widget_title,
.turfnet-community-widget .fcom_author_name,
.turfnet-community-widget .fcom_post_link,
.turfnet-community-widget .fcom_no_posts_text,
.turfnet-custom-widget .fcom_widget_title,
.turfnet-custom-widget .fcom_author_name,
.turfnet-custom-widget .fcom_post_link,
.turfnet-custom-widget .fcom_no_posts_text {
    color: #1d2129 !important;
}

.turfnet-community-widget .fcom_post_link:hover,
.turfnet-custom-widget .fcom_post_link:hover {
    color: var(--community-color-primary) !important;
}

.turfnet-community-widget .fcom_widget_header,
.turfnet-community-widget .fcom_post_item,
.turfnet-custom-widget .fcom_widget_header,
.turfnet-custom-widget .fcom_post_item {
    border-color: #f0f2f5 !important;
}

.turfnet-community-widget .fcom_post_meta,
.turfnet-community-widget .fcom_post_excerpt,
.turfnet-community-widget .fcom_reaction_count,
.turfnet-community-widget .fcom_comment_count,
.turfnet-community-widget .fcom_widget_description,
.turfnet-custom-widget .fcom_post_meta,
.turfnet-custom-widget .fcom_post_excerpt,
.turfnet-custom-widget .fcom_reaction_count,
.turfnet-custom-widget .fcom_comment_count,
.turfnet-custom-widget .fcom_widget_description {
    color: #65676b !important;
}

.turfnet-community-widget .fcom_topic_link,
.turfnet-custom-widget .fcom_topic_link {
    background: #f0f2f5 !important;
    color: var(--community-color-text-secondary) !important;
}

.turfnet-community-widget .fcom_topic_link:hover,
.turfnet-custom-widget .fcom_topic_link:hover {
    background: #e4e6ea !important;
    color: #166fe5 !important;
}

/* ==========================================================================
   Community Stats Widget
   ========================================================================== */

.fcom_stats_widget {
    /* Inherits all widget container styles */
}

.fcom_stats_list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Grid Layout for Stats */
.fcom_stats_widget .fcom_posts_grid {
    display: grid;
    grid-template-columns: repeat(var(--grid-columns-desktop, 3), 1fr);
    gap: 20px;
    flex-direction: unset;
}

.fcom_stat_item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.2s ease;
    cursor: default;
}

.fcom_stat_item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #d1ecf1;
}

.fcom_stat_content {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.fcom_stat_icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #f0f2f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid #e4e6ea;
}


/* SVG Icon content using CSS */
.fcom_stat_icon span {
    display: block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.fcom-icon-users {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2365676b" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path><circle cx="12" cy="7" r="4"></circle></svg>');
}

.fcom-icon-post {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2365676b" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path><polyline points="14,2 14,8 20,8"></polyline><line x1="16" y1="13" x2="8" y2="13"></line><line x1="16" y1="17" x2="8" y2="17"></line><polyline points="10,9 9,9 8,9"></polyline></svg>');
}

.fcom-icon-comment {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2365676b" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg>');
}

.fcom-icon-space {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2365676b" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"></path></svg>');
}

.fcom-icon-stats {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2365676b" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="20" x2="18" y2="10"></line><line x1="12" y1="20" x2="12" y2="4"></line><line x1="6" y1="20" x2="6" y2="14"></line></svg>');
}

.fcom_stat_info {
    flex: 1;
    min-width: 0;
}

.fcom_stat_number {
    font-size: 32px;
    font-weight: 700;
    color: #1d2129;
    line-height: 1;
    margin-bottom: 4px;
}

.fcom_stat_label {
    font-size: 14px;
    font-weight: 500;
    color: #65676b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* No Stats State */
.fcom_no_stats {
    /* Inherits widget styles */
}

.fcom_no_content_message {
    text-align: center;
    padding: 40px 20px;
    color: #65676b;
}

.fcom_no_content_icon {
    margin-bottom: 16px;
    opacity: 0.6;
}

.fcom_no_content_icon span {
    font-size: 48px;
}

.fcom_no_content_text {
    font-size: 16px;
    font-weight: 600;
    color: #1d2129;
    margin: 0;
    line-height: 1.4;
}

/* ==========================================================================
   Stats Widget Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    /* Grid responsive - adaptive columns on tablet */
    .fcom_stats_widget .fcom_posts_grid {
        grid-template-columns: repeat(var(--grid-columns-tablet, 3), 1fr);
        gap: 16px;
    }

    .fcom_stat_item {
        padding: 16px;
        gap: 12px;
    }

    .fcom_stat_content {
        gap: 12px;
    }

    .fcom_stat_icon {
        width: 40px;
        height: 40px;
    }

    .fcom_stat_icon span {
        width: 18px;
        height: 18px;
    }

    .fcom_stat_number {
        font-size: 28px;
    }

    .fcom_stat_label {
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    /* Grid responsive - adaptive columns on mobile */
    .fcom_stats_widget .fcom_posts_grid {
        grid-template-columns: repeat(var(--grid-columns-mobile, 1), 1fr) !important;
        gap: 12px;
    }

    .turfnet-custom-widget .fcom_posts_grid {
        grid-template-columns: repeat(var(--grid-columns-mobile, 1), 1fr) !important;
        gap: 12px;
        max-width: 100%;
    }

    .fcom_stat_item {
        padding: 14px;
        gap: 10px;
    }

    .fcom_stat_content {
        gap: 10px;
    }

    .fcom_stat_icon {
        width: 36px;
        height: 36px;
    }

    .fcom_stat_icon span {
        width: 16px;
        height: 16px;
    }

    .fcom_stat_number {
        font-size: 24px;
    }

    .fcom_stat_label {
        font-size: 12px;
    }

    .fcom_no_content_icon span {
        font-size: 36px;
    }

    .fcom_no_content_text {
        font-size: 14px;
    }
}

/* ==========================================================================
   Light Mode Enforcement for Stats Widget
   ========================================================================== */

.turfnet-community-widget .fcom_stat_item,
.turfnet-custom-widget .fcom_stat_item {
    background: #f8f9fa !important;
    border-color: #e9ecef !important;
}

.turfnet-community-widget .fcom_stat_item:hover,
.turfnet-custom-widget .fcom_stat_item:hover {
    border-color: #d1ecf1 !important;
}

.turfnet-community-widget .fcom_stat_number,
.turfnet-custom-widget .fcom_stat_number {
    color: #1d2129 !important;
}

.turfnet-community-widget .fcom_stat_label,
.turfnet-custom-widget .fcom_stat_label {
    color: #65676b !important;
}

/* ==========================================================================
   Membership Cards Enhancement (MemberPress Shortcode)
   ========================================================================== */

/* Card Container - Modern card design with white background and shadows */
.turfnet-membership-card {
    background: #ffffff !important;
    border: 1px solid #E5E7EB !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 24px !important;
    transition: all 0.2s ease;
    display: flex !important;
    flex-direction: column;
    height: 100%;
}

/* Clickable card cursor */
.turfnet-membership-card[data-href] {
    cursor: pointer;
}

/* Enhanced hover state with lift effect */
.turfnet-membership-card:hover {
    background: #ffffff !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-2px);
}

/* Card content wrapper - flex container */
.turfnet-membership-card .fcom_post_content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

/* Membership Title Spacing */
.turfnet-membership-card .fcom_post_title {
    margin-bottom: 12px !important;
    border-bottom: 2px solid rgba(126, 0, 0, 0.1);
    padding-bottom: var(--community-spacing-sm);
}

.turfnet-membership-card .fcom_post_title a::before {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--community-color-primary);
}

.turfnet-membership-price-amount {
    font-size: 16px;
    font-weight: 700;
    padding: 0;
    background: transparent;
    color: var(--directorist-color-body);
}

/* Action Button Container - Always at bottom */
.turfnet-membership-actions {
    margin-top: auto !important;
    padding-top: 16px;
}

/* Primary Button Styling - Transform text link into proper button  */
.turfnet-membership-signup-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: clamp(16px, 3vw, 24px) !important;
    color: #7e0000 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    font-size: 0.875rem !important;
    transition: all 0.3s ease !important;
    padding: 8px 16px !important;
    border-radius: 8px !important;
    background: rgba(126, 0, 0, 0.05) !important;
    width: fit-content !important;
}

.turfnet-membership-signup-btn:hover {
    transform: translateX(4px) !important;
    text-decoration: none !important;
    color: #7e0000 !important;
    background: rgba(126, 0, 0, 0.1) !important;
}

.turfnet-membership-signup-btn:after {
    content: '→' !important;
    transition: transform 0.3s ease !important;
}

.turfnet-membership-signup-btn:hover:after {
    transform: translateX(4px) !important;
}
/* ==========================================================================
   Membership Cards Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    /* Tablet: Reduce padding slightly */
    .turfnet-membership-card {
        padding: 20px !important;
    }

    .turfnet-membership-signup-btn {
        padding: 10px 20px !important;
        font-size: 14px !important;
    }

    .turfnet-membership-price-amount {
        font-size: 17px;
    }
}

@media (max-width: 767px) {
    /* Mobile: Compact padding and full-width buttons */
    .turfnet-membership-card {
        padding: 16px !important;
    }

    .turfnet-membership-actions {
        margin-top: 12px;
    }

    .turfnet-membership-signup-btn {
        display: block !important;
        width: 100%;
        padding: 12px 16px !important;
        font-size: 14px !important;
    }

    .turfnet-membership-price {
        margin: 10px 0 12px 0;
    }

    .turfnet-membership-price-amount {
        font-size: 16px;
    }
}
