/* Notion2WP Frontend Styles */

.notion-embed {
    margin: 20px 0;
    border: 1px solid #e1e5e9;
    border-radius: 6px;
    overflow: hidden;
}

.notion-embed iframe {
    width: 100%;
    border: none;
}

.embed-caption {
    margin: 10px 15px;
    font-size: 14px;
    color: #6b7280;
    font-style: italic;
}

.notion-video {
    margin: 20px 0;
    text-align: center;
}

.notion-video iframe {
    max-width: 100%;
    border-radius: 6px;
}

.notion-video video {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.video-caption {
    margin: 10px 0;
    font-size: 14px;
    color: #6b7280;
    font-style: italic;
}

.notion-bookmark {
    margin: 20px 0;
    border: 1px solid #e1e5e9;
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.notion-bookmark:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.bookmark-link {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: inherit;
}

.bookmark-link:hover {
    text-decoration: none;
    color: inherit;
}

.bookmark-title {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.3;
}

.bookmark-description {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bookmark-url {
    font-size: 12px;
    color: #9ca3af;
    word-break: break-all;
}

.bookmark-caption {
    margin: 10px 15px;
    font-size: 14px;
    color: #6b7280;
    font-style: italic;
    border-top: 1px solid #f3f4f6;
    padding-top: 10px;
}

.notion-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}

.notion-table th,
.notion-table td {
    border: 1px solid #e1e5e9;
    padding: 8px 12px;
    text-align: left;
}

.notion-table th {
    background-color: #f8fafc;
    font-weight: 600;
    color: #374151;
}

.notion-table tbody tr:nth-child(even) {
    background-color: #f9fafb;
}

.notion-table tbody tr:hover {
    background-color: #f3f4f6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .notion-embed,
    .notion-video,
    .notion-bookmark {
        margin: 15px 0;
    }
    
    .bookmark-link {
        padding: 12px;
    }
    
    .bookmark-title {
        font-size: 15px;
    }
    
    .bookmark-description {
        font-size: 13px;
    }
    
    .notion-table {
        font-size: 13px;
    }
    
    .notion-table th,
    .notion-table td {
        padding: 6px 8px;
    }
}