/**
 * assets/css/blocks.css - Block editor frontend styles
 */

/* Block Editor Alignment */
.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Wide and Full Width */
.alignwide {
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
}

.alignfull {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: none;
    width: 100vw;
}

/* Block Spacing */
.wp-block-group,
.wp-block-cover,
.wp-block-columns {
    margin-bottom: 2rem;
}

/* Button Block */
.wp-block-button .wp-block-button__link {
    background-color: #3b82f6;
    border-radius: 0.375rem;
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    padding: 0.75rem 1.5rem;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.wp-block-button .wp-block-button__link:hover {
    background-color: #2563eb;
}

.wp-block-button.is-style-outline .wp-block-button__link {
    background-color: transparent;
    border: 2px solid #3b82f6;
    color: #3b82f6;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
    background-color: #3b82f6;
    color: #ffffff;
}

/* Quote Block */
.wp-block-quote {
    border-left: 4px solid #3b82f6;
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.wp-block-quote p {
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.wp-block-quote cite {
    color: #6b7280;
    display: block;
    font-size: 0.875rem;
    font-style: normal;
}

/* Pullquote Block */
.wp-block-pullquote {
    border-top: 4px solid #3b82f6;
    border-bottom: 4px solid #3b82f6;
    color: #1f2937;
    margin: 2rem 0;
    padding: 2rem 0;
    text-align: center;
}

.wp-block-pullquote p {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
}

/* Table Block */
.wp-block-table {
    margin: 1.5rem 0;
}

.wp-block-table table {
    border-collapse: collapse;
    width: 100%;
}

.wp-block-table th,
.wp-block-table td {
    border: 1px solid #e5e7eb;
    padding: 0.75rem;
    text-align: left;
}

.wp-block-table th {
    background-color: #f3f4f6;
    font-weight: 600;
}

/* Separator Block */
.wp-block-separator {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 2rem auto;
}

.wp-block-separator.is-style-wide {
    border-top-width: 2px;
}

.wp-block-separator.is-style-dots {
    background: none;
    border: none;
    text-align: center;
    max-width: none;
    line-height: 1;
}

.wp-block-separator.is-style-dots:before {
    content: "···";
    color: #6b7280;
    font-size: 1.5rem;
    letter-spacing: 2rem;
}

/* Cover Block */
.wp-block-cover {
    align-items: center;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    min-height: 430px;
    padding: 2rem;
    position: relative;
}

.wp-block-cover .wp-block-cover__inner-container {
    color: #ffffff;
    text-align: center;
    width: 100%;
}