/* General Typography */
p {
    margin: 1em 0;
}

/* Text Alignment */
.has-text-align-left {
    text-align: left;
}

.has-text-align-center {
    text-align: center;
}

.has-text-align-right {
    text-align: right;
}

/* Font Sizes */
.has-small-font-size {
    font-size: 0.875rem;
}

.has-medium-font-size {
    font-size: 1rem;
}

.has-large-font-size {
    font-size: 1.25rem;
}

.has-x-large-font-size {
    font-size: 1.75rem;
}

/* Text Colors */
.has-cyan-bluish-gray-color {
    color: #abb8c3;
}

.has-white-color {
    color: #ffffff;
}

.has-pale-pink-color {
    color: #f78da7;
}

.has-vivid-red-color {
    color: #cf2e2e;
}

.has-luminous-vivid-orange-color {
    color: #ff6900;
}

.has-luminous-vivid-amber-color {
    color: #fcb900;
}

.has-light-green-cyan-color {
    color: #7bdcb5;
}

.has-vivid-green-cyan-color {
    color: #00d084;
}

.has-pale-cyan-blue-color {
    color: #8ed1fc;
}

.has-vivid-cyan-blue-color {
    color: #0693e3;
}

.has-vivid-purple-color {
    color: #9b51e0;
}

/* Headings */
.wp-block-heading h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.wp-block-heading h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.wp-block-heading h3 {
    font-size: 1.75rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Blockquote */
.wp-block-quote {
    border-left: 4px solid #ccc;
    padding-left: 1rem;
    color: #666;
    font-style: italic;
}

/* Tables */
table {
    width: 100%;
}

.wp-block-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.wp-block-table td, 
.wp-block-table th {
    border: 1px solid #ddd;
    padding: 0.5rem;
}

.wp-block-table figcaption {
    text-align: center;
    margin-top: 0.5rem;
    font-style: italic;
    color: #666;
}

/* Buttons */
.wp-block-buttons {
    display: grid;
}

/* Media & Text */
.wp-block-media-text {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wp-block-media-text__media {
    flex: 1;
    margin-right: 1rem;
}

.wp-block-media-text__content {
    flex: 2;
}

/* Images */
figure {
    margin: 0;
    display: grid;
    place-content: center;
}

figure > img {
    max-width: 90vw;
    height: auto;
}

figure.wp-block-image.aligncenter {
    width: 100%;
    text-align: center;
}

/* Buttons */
.wp-block-button__link {
    background-color: #0366d6;
    color: #ffffff;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
}

/* Columns */
.wp-block-columns {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
}

.wp-block-column {
    flex: 1;
    padding: 0 1rem;
}

/* Separator */
hr.wp-block-separator {
    border: none;
    border-top: 2px solid #ccc;
    margin: 2rem 0;
}

/* Groups */
.wp-block-group {
    margin: 2rem 0;
}

.wp-block-group-is-horizontal {
    display: flex;
    align-items: center;
}

.wp-block-group-is-vertical {
    display: flex;
    flex-direction: column;
}

.wp-block-group-is-layout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
}

.wp-block-group-is-layout-flex {
    display: flex;
    gap: 1rem;
}

.is-vertical {
    display: grid;
}

/* Content Justification */
.is-content-justification-center {
    justify-content: center;
}

.is-content-justification-space-between {
    justify-content: space-between;
}

.is-content-justification-space-around {
    justify-content: space-around;
}

.is-content-justification-start {
    justify-content: flex-start;
}

.is-content-justification-end {
    justify-content: flex-end;
}

.is-content-justification-stretch {
    justify-content: stretch;
}

@media (max-width: 800px) {
    .is-stacked-on-mobile {
        display: grid;
        grid-template-columns: 1fr;
        justify-content: center;
        text-align: center;
    }
}

/* Inline emoji images in headings and paragraphs */
.wp-block-heading img,
h1 img, h2 img, h3 img, h4 img, h5 img, h6 img,
p img[src*="/images/checkmark.png"],
p img[src*="/images/star.png"],
p img[src*="/images/pointer.png"],
p img[src*="/images/phone.png"],
p img[src*="/images/globe.png"],
p img[src*="/images/pin.png"] {
    display: inline-block;
    vertical-align: middle;
    width: 1.3em;
    height: 1.3em;
    margin-right: 0.2em;
    margin-top: -0.1em;
}
