/* Block Styles */

/* Core Blocks Alignment */
.entry-content > .alignwide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.entry-content > .alignfull {
    margin-left: calc(-100vw / 2 + 100% / 2);
    margin-right: calc(-100vw / 2 + 100% / 2);
    max-width: 100vw;
    width: 100vw;
}

/* Block Font Sizes */
.has-small-font-size {
    font-size: 14px;
    line-height: 1.6;
}

.has-normal-font-size {
    font-size: 16px;
    line-height: 1.7;
}

.has-large-font-size {
    font-size: 24px;
    line-height: 1.4;
}

.has-extra-large-font-size {
    font-size: 32px;
    line-height: 1.3;
}

/* Block Colors */
.has-primary-color {
    color: #0d6efd;
}

.has-secondary-color {
    color: #6c757d;
}

.has-dark-color {
    color: #212529;
}

.has-light-color {
    color: #f8f9fa;
}

.has-primary-background-color {
    background-color: #0d6efd;
    color: #ffffff;
}

.has-secondary-background-color {
    background-color: #6c757d;
    color: #ffffff;
}

.has-dark-background-color {
    background-color: #212529;
    color: #ffffff;
}

.has-light-background-color {
    background-color: #f8f9fa;
    color: #212529;
}

/* Block Spacing */
.wp-block {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Block Quote */
.wp-block-quote {
    border-left: 4px solid #0d6efd;
    padding: 1.5rem;
    margin: 1.5rem 0;
    background: rgba(13, 110, 253, 0.05);
    font-style: italic;
    border-radius: 0 4px 4px 0;
}

.wp-block-quote cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.875em;
    color: #6c757d;
    font-style: normal;
}

/* Block Code */
.wp-block-code {
    background: #2d2d2d;
    color: #f8f9fa;
    border: 1px solid #444;
    border-radius: 4px;
    padding: 1.5rem;
    font-family: 'Monaco', 'Consolas', monospace;
}

/* Block Preformatted */
.wp-block-preformatted {
    background: #2d2d2d;
    color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Consolas', monospace;
    white-space: pre-wrap;
}

/* Block Table */
.wp-block-table table {
    border-collapse: collapse;
    width: 100%;
    margin: 1.5rem 0;
}

.wp-block-table td,
.wp-block-table th {
    padding: 0.75rem;
    border: 1px solid #444;
    background: #2d2d2d;
    color: #f8f9fa;
}

.wp-block-table th {
    background: #212529;
    font-weight: 600;
}

/* Block Image */
.wp-block-image {
    margin: 2rem 0;
}

.wp-block-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.wp-block-image figcaption {
    margin-top: 0.5rem;
    text-align: center;
    font-size: 0.875em;
    color: #6c757d;
}

/* Block Cover */
.wp-block-cover {
    padding: 3rem 2rem;
    border-radius: 4px;
    min-height: 400px;
}

.wp-block-cover.has-background-dim:before {
    border-radius: 4px;
}

/* Block Button */
.wp-block-button__link {
    background-color: #0d6efd;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.wp-block-button__link:hover {
    background-color: #0b5ed7;
    color: #fff;
    transform: translateY(-1px);
}

.is-style-outline .wp-block-button__link {
    background-color: transparent;
    border: 2px solid #0d6efd;
    color: #0d6efd;
}

.is-style-outline .wp-block-button__link:hover {
    background-color: #0d6efd;
    color: #fff;
}

/* Block Columns */
.wp-block-columns {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

@media (max-width: 781px) {
    .wp-block-columns {
        flex-wrap: wrap;
    }
    
    .wp-block-column {
        flex-basis: 100% !important;
    }
}

/* Block Group */
.wp-block-group {
    padding: 1.5rem;
    border-radius: 4px;
}

.wp-block-group.has-background {
    padding: 2rem;
}

/* Block Media & Text */
.wp-block-media-text {
    margin: 2rem 0;
    grid-gap: 2rem;
}

.wp-block-media-text__content {
    padding: 0 2rem;
}

@media (max-width: 600px) {
    .wp-block-media-text {
        grid-template-columns: 1fr;
    }
    
    .wp-block-media-text__content {
        padding: 2rem 0 0;
    }
}

/* Block Separator */
.wp-block-separator {
    border-bottom: 2px solid #444;
    margin: 3rem 0;
    opacity: 1;
}

.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
    width: 100px;
}

.wp-block-separator.is-style-dots {
    border: none;
    text-align: center;
}

.wp-block-separator.is-style-dots:before {
    content: "···";
    color: #6c757d;
    font-size: 30px;
    letter-spacing: 1em;
    padding-left: 1em;
}

/* Block List */
.wp-block-list {
    padding-left: 1.5rem;
    margin: 1.5rem 0;
}

/* Block Verse */
.wp-block-verse {
    font-family: inherit;
    font-style: italic;
    padding: 1.5rem;
    background: rgba(13, 110, 253, 0.05);
    border-radius: 4px;
}

/* Block Social Links */
.wp-block-social-links {
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.wp-block-social-links .wp-social-link {
    transition: transform 0.3s ease;
}

.wp-block-social-links .wp-social-link:hover {
    transform: translateY(-2px);
}