/* WordPress-specific overrides and additions for OWC theme */

/* Admin bar offset */
body.admin-bar header { top: 32px; }
@media (max-width: 782px) { body.admin-bar header { top: 46px; } }

/* WordPress alignment classes */
.alignleft { float: left; margin-right: 20px; }
.alignright { float: right; margin-left: 20px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

/* WordPress caption */
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 12px; color: var(--muted); margin-top: 8px; }

/* WordPress gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery-item { margin: 0; }

/* Editor styles */
.entry-content h1,
.entry-content h2,
.entry-content h3 { color: var(--text); }
.entry-content p { color: var(--muted); }
.entry-content a { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }
.entry-content a:hover { color: #e0c080; }

/* WP Block editor color compatibility */
.has-gold-color { color: var(--gold) !important; }
.has-dark-background-color { background-color: var(--bg) !important; }
.has-panel-background-color { background-color: var(--panel) !important; }
