/* Content container */
.entry-content {
    font-size: 16px;
    line-height: 1.7;
    color: inherit;
}

/* Vertical rhythm */
.entry-content > * + * {
    margin-top: 1.5rem;
}

/* Headings */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin-top: 1.2em;
    margin-bottom: 0.75em;
    line-height: 1.2;
    font-weight: 700;
}

.entry-content h1 { font-size: 2.5rem; }
.entry-content h2 { font-size: 2rem; }
.entry-content h3 { font-size: 1.75rem; }
.entry-content h4 { font-size: 1.5rem; }
.entry-content h5 { font-size: 1.25rem; }
.entry-content h6 { font-size: 1rem; }

/* Paragraphs */
.entry-content p {
    margin: 0;
}

/* Links */
.entry-content a {
    text-decoration: underline;
}

/* Lists */
.entry-content ul,
.entry-content ol {
    padding-left: 1.5rem;
    margin: 1.5rem 0;
}

.entry-content li + li {
    margin-top: 0.5rem;
}

/* Images */
.entry-content img {
    display: block;
    max-width: 100%;
    height: auto;
}

.entry-content figure {
    margin: 2rem 0;
}

.entry-content figcaption {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    opacity: 0.8;
    text-align: center;
}

/* Gutenberg image block */
.entry-content .wp-block-image {
    margin: 2rem 0;
}

.entry-content .wp-block-image img {
    max-width: 100%;
    height: auto;
}

/* Videos */
.entry-content video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.entry-content .wp-block-video {
    margin: 2rem 0;
}

/* Embedded content */
.entry-content iframe {
    max-width: 100%;
}

/* Quotes */
.entry-content blockquote {
    margin: 2rem 0;
    padding-left: 1.5rem;
    border-left: 4px solid #ccc;
    font-style: italic;
}

/* Tables */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
}

.entry-content th,
.entry-content td {
    padding: 0.75rem;
    border: 1px solid #ddd;
}

/* Code */
.entry-content pre {
    overflow-x: auto;
    padding: 1rem;
    background: #f5f5f5;
}

.entry-content code {
    font-family: monospace;
}

/* Separators */
.entry-content hr,
.entry-content .wp-block-separator {
    margin: 3rem auto;
    border: 0;
    border-top: 1px solid #ddd;
}

/* Gutenberg columns */
.entry-content .wp-block-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem 0;
}

.entry-content .wp-element-button {
    background-color: #f6a810;
    color: #333;
    transition: all 120ms ease-out;
}

.entry-content .wp-element-button:hover {
    color: #f6a810;
    background-color: #333;
}

.entry-content .wp-block-column {
    flex: 1;
    min-width: 250px;
}

/* Buttons */
.entry-content .wp-block-button {
    margin: 1.5rem 0;
}

.entry-content p + p {
    margin: .75rem 0;
}

.entry-content .wp-block-button__link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
}

/* Alignment classes */
.entry-content .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.entry-content .alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.entry-content .alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.entry-content .alignwide,
.entry-content .alignfull {
    width: 100%;
}

/* Gutenberg embeds */
.entry-content .wp-block-embed {
    margin: 2rem 0;
}

/* 16:9 aspect ratio container */
.entry-content .wp-block-embed__wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

/* Your custom YouTube wrapper */
.entry-content .embed-youtube {
    position: absolute;
    inset: 0;
    display: block !important;
    width: 100%;
    height: 100%;
}

/* YouTube iframe */
.entry-content .embed-youtube iframe,
.entry-content .wp-block-embed iframe,
.entry-content iframe.youtube-player {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

.entry-content .wp-block-embed__wrapper {
    padding-bottom: 56.25% !important;
}