/* Rem - Navigation & Redirect Engine */

/* ===== BOTÕES INTERNOS ===== */
.rem-internal-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 15px 0;
}

.rem-internal-buttons .rem-button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.rem-internal-buttons .rem-button-primary {
    background-color: #007cba;
    color: white;
}

.rem-internal-buttons .rem-button-primary:hover {
    background-color: #005a87;
}

.rem-internal-buttons .rem-button-secondary {
    background-color: #6c757d;
    color: white;
}

.rem-internal-buttons .rem-button-secondary:hover {
    background-color: #5a6268;
}

/* ===== APP CARDS ===== */
.rem-app-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 15px 0;
}

.rem-app-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.rem-app-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.rem-app-icon {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.rem-app-info {
    padding: 15px;
}

.rem-app-info h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
}

.rem-app-rating {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.rem-app-size {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.rem-app-btn {
    display: block;
    background-color: #007cba;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.rem-app-btn:hover {
    background-color: #005a87;
    text-decoration: none;
}

/* ===== POST CARDS ===== */
.rem-post-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 15px 0;
}

.rem-post-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.rem-post-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.rem-post-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.rem-post-info {
    padding: 15px;
}

.rem-post-info h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
}

.rem-post-info h3 a {
    color: #333;
    text-decoration: none;
}

.rem-post-info h3 a:hover {
    color: #007cba;
}

.rem-post-excerpt {
    margin: 10px 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.rem-post-link {
    display: inline-block;
    color: #007cba;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.rem-post-link:hover {
    color: #005a87;
}

/* ===== REDIRECT BUTTONS ===== */
.rem-redirect-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 15px 0;
}

.rem-redirect-buttons .rem-redirect-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #007cba;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.rem-redirect-buttons .rem-redirect-btn:hover {
    background-color: #005a87;
    text-decoration: none;
}

.rem-redirect-buttons .rem-btn-secondary {
    background-color: #6c757d;
}

.rem-redirect-buttons .rem-btn-secondary:hover {
    background-color: #5a6268;
}

/* ===== VARIANTES ===== */
.rem-variant-outline .rem-button,
.rem-variant-outline .rem-redirect-btn {
    background-color: transparent;
    border: 2px solid #007cba;
    color: #007cba;
}

.rem-variant-outline .rem-button:hover,
.rem-variant-outline .rem-redirect-btn:hover {
    background-color: #007cba;
    color: white;
}

.rem-variant-gradient .rem-button,
.rem-variant-gradient .rem-redirect-btn {
    background: linear-gradient(135deg, #007cba 0%, #005a87 100%);
}

.rem-variant-gradient .rem-button:hover,
.rem-variant-gradient .rem-redirect-btn:hover {
    opacity: 0.9;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
    .rem-app-cards {
        grid-template-columns: 1fr;
    }
    
    .rem-post-cards {
        grid-template-columns: 1fr;
    }
    
    .rem-internal-buttons,
    .rem-redirect-buttons {
        flex-direction: column;
    }
    
    .rem-internal-buttons .rem-button,
    .rem-redirect-buttons .rem-redirect-btn {
        width: 100%;
        text-align: center;
    }
}
