/**
 * Gutenberg Block Styles
 * 
 * Custom styling for WordPress core blocks
 */

/*------------------------------------*\
  CORE BLOCKS
\*------------------------------------*/

/* Buttons */
.wp-block-button__link {
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

/* Quote */
.wp-block-quote {
    border-left: 4px solid #2563eb;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #4b5563;
}

.wp-block-quote cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.875rem;
    font-style: normal;
    color: #6b7280;
}

/* Code */
.wp-block-code {
    background: #1f2937;
    color: #e5e7eb;
    padding: 1rem;
    border-radius: 0.375rem;
    overflow-x: auto;
    font-size: 0.875rem;
}

/* Separator */
.wp-block-separator {
    border: none;
    border-top: 2px solid #e5e7eb;
    margin: 2rem 0;
}

/* Table */
.wp-block-table {
    margin: 2rem 0;
    overflow-x: auto;
}

.wp-block-table table {
    width: 100%;
    border-collapse: collapse;
}

.wp-block-table th,
.wp-block-table td {
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    text-align: left;
}

.wp-block-table th {
    background: #f3f4f6;
    font-weight: 600;
}

/* Image */
.wp-block-image {
    margin: 2rem 0;
}

.wp-block-image figcaption {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    text-align: center;
}

/* Gallery */
.wp-block-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

/* Wide and Full Width */
.alignwide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}